Browse Source

fix some rediculousness in NDK-14

Apparently having -fPIC on the command line multiple times turns it back off
Grant Limberg 8 years ago
parent
commit
1520534660
1 changed files with 2 additions and 2 deletions
  1. 2 2
      java/jni/Application.mk

+ 2 - 2
java/jni/Application.mk

@@ -1,5 +1,5 @@
 # NDK_TOOLCHAIN_VERSION := clang3.5
-APP_STL := gnustl_static
-APP_CPPFLAGS := -O3 -fPIC -fPIE -Wall -fstack-protector -fexceptions -fno-strict-aliasing -Wno-deprecated-register -DZT_NO_TYPE_PUNNING=1
+APP_STL := c++_static
+APP_CPPFLAGS := -O3 -Wall -fstack-protector -fexceptions -fno-strict-aliasing -Wno-deprecated-register -DZT_NO_TYPE_PUNNING=1
 APP_PLATFORM := android-14
 APP_ABI := all