summaryrefslogtreecommitdiffstats
path: root/Modules/Platform/Android/abi-x86-Clang.cmake
diff options
context:
space:
mode:
Diffstat (limited to 'Modules/Platform/Android/abi-x86-Clang.cmake')
-rw-r--r--Modules/Platform/Android/abi-x86-Clang.cmake5
1 files changed, 5 insertions, 0 deletions
diff --git a/Modules/Platform/Android/abi-x86-Clang.cmake b/Modules/Platform/Android/abi-x86-Clang.cmake
index ec79790..f63ed36 100644
--- a/Modules/Platform/Android/abi-x86-Clang.cmake
+++ b/Modules/Platform/Android/abi-x86-Clang.cmake
@@ -1,3 +1,8 @@
# <ndk>/build/core/toolchains/x86-clang/setup.mk
set(_ANDROID_ABI_CLANG_TARGET "i686-none-linux-android")
+
+string(APPEND _ANDROID_ABI_INIT_CFLAGS
+ " -fPIC"
+ )
+
include(Platform/Android/abi-common-Clang)