Browse Source

fix some rediculousness in NDK-14

Apparently having -fPIC on the command line multiple times turns it back off
Grant Limberg 8 năm trước cách đây
mục cha
commit
1520534660
1 tập tin đã thay đổi với 2 bổ sung2 xóa
  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