SDL: clang will use LLVM c++_static standard C++ library

This commit is contained in:
Sergii Pylypenko
2016-10-04 23:32:11 +03:00
parent e662822225
commit 083b26790c
6 changed files with 4188 additions and 4128 deletions

View File

@@ -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