cleaning NDK flags

This commit is contained in:
Nabil Hachicha 2016-01-28 14:11:27 +00:00
parent bcc53c089f
commit dd9242e584
2 changed files with 3 additions and 5 deletions

View File

@ -47,10 +47,6 @@ LOCAL_C_INCLUDES += $(JAVA_HOME)/include/darwin
LOCAL_C_INCLUDES += core/include LOCAL_C_INCLUDES += core/include
LOCAL_ALLOW_UNDEFINED_SYMBOLS := true LOCAL_ALLOW_UNDEFINED_SYMBOLS := true
CXX11_FLAGS := -std=c++14
LOCAL_CFLAGS += -fexceptions $(CXX11_FLAGS) -frtti
LOCAL_EXPORT_CPPFLAGS := $(CXX11_FLAGS)
LOCAL_LDLIBS := -llog
LOCAL_STATIC_LIBRARIES := realm-android-$(TARGET_ARCH_ABI) LOCAL_STATIC_LIBRARIES := realm-android-$(TARGET_ARCH_ABI)
LOCAL_SHARED_LIBRARIES := libjsc LOCAL_SHARED_LIBRARIES := libjsc

View File

@ -8,10 +8,12 @@ APP_MK_DIR := $(dir $(lastword $(MAKEFILE_LIST)))
NDK_MODULE_PATH := $(APP_MK_DIR)$(HOST_DIRSEP)$(THIRD_PARTY_NDK_DIR)$(HOST_DIRSEP)$(APP_MK_DIR)first-party NDK_MODULE_PATH := $(APP_MK_DIR)$(HOST_DIRSEP)$(THIRD_PARTY_NDK_DIR)$(HOST_DIRSEP)$(APP_MK_DIR)first-party
APP_STL := gnustl_static APP_STL := gnustl_static
APP_CFLAGS += -std=c++14 APP_CPPFLAGS := -std=c++14
APP_CPPFLAGS += -frtti APP_CPPFLAGS += -frtti
APP_CPPFLAGS += -fexceptions
# Make sure every shared lib includes a .note.gnu.build-id header # Make sure every shared lib includes a .note.gnu.build-id header
APP_LDFLAGS := -Wl,--build-id APP_LDFLAGS := -Wl,--build-id
NDK_TOOLCHAIN_VERSION := 4.9 NDK_TOOLCHAIN_VERSION := 4.9
APP_LDFLAGS := -llog