From 1520534660698698d9db064e1d9f7b3f0ae9913c Mon Sep 17 00:00:00 2001 From: Grant Limberg Date: Thu, 9 Mar 2017 17:48:40 -0800 Subject: [PATCH] fix some rediculousness in NDK-14 Apparently having -fPIC on the command line multiple times turns it back off --- java/jni/Application.mk | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/java/jni/Application.mk b/java/jni/Application.mk index 6950c0e65..19891cc8f 100644 --- a/java/jni/Application.mk +++ b/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