SDL: clang will use LLVM c++_static standard C++ library
This commit is contained in:
@@ -2,6 +2,6 @@ APP_PROJECT_PATH := $(call my-dir)/..
|
||||
|
||||
include jni/Settings.mk
|
||||
|
||||
APP_STL := gnustl_static
|
||||
APP_STL := $(if $(filter clang%, $(NDK_TOOLCHAIN_VERSION)), c++_static, gnustl_static)
|
||||
APP_CFLAGS := -O3 -DNDEBUG -g # arm-linux-androideabi-4.4.3 crashes in -O0 mode on SDL sources
|
||||
APP_PIE := true # This feature makes executables incompatible to Android API 15 or lower, but executables without PIE will not run on Android 5.0 and newer
|
||||
|
||||
Reference in New Issue
Block a user