Skip to content

Commit 5503a72

Browse files
committed
[ndk19] Add -fPIC to armeabi-v7a's arch cflags...
...force `Position-Independent Code` To solve the kivy's build error detected in travis `OSX` test (https://travis-ci.org/kivy/python-for-android/jobs/576204088#L1105). But also detected the same error in my local tests (linux os in this case) for `freetype` and `harfbuzz` recipes...so I have the feeling that this is better to set as global 🤞..is it?
1 parent 4454ad9 commit 5503a72

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

pythonforandroid/archs.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -260,6 +260,7 @@ class ArchARMv7_a(ArchARM):
260260
'-mfloat-abi=softfp',
261261
'-mfpu=vfp',
262262
'-mthumb',
263+
'-fPIC',
263264
]
264265

265266

0 commit comments

Comments
 (0)