Skip to content

Commit 3d651fd

Browse files
committed
Fix kivy compilation error incompatible function pointer types for glShaderSource
1 parent e928129 commit 3d651fd

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

pythonforandroid/recipes/kivy/__init__.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -64,6 +64,7 @@ def get_recipe_env(self, arch, **kwargs):
6464
arch.arch)))
6565
env['LDSHARED'] = env['CC'] + ' -shared'
6666
env['LIBLINK'] = 'NOTNONE'
67+
env['CFLAGS'] = env['CFLAGS'] + ' -Wno-incompatible-function-pointer-types'
6768

6869
# NDKPLATFORM is our switch for detecting Android platform, so can't be None
6970
env['NDKPLATFORM'] = "NOTNONE"

0 commit comments

Comments
 (0)