mirror of
https://github.com/status-im/realm-js.git
synced 2025-01-11 06:46:03 +00:00
cleaning NDK flags
This commit is contained in:
parent
bcc53c089f
commit
dd9242e584
@ -47,10 +47,6 @@ LOCAL_C_INCLUDES += $(JAVA_HOME)/include/darwin
|
||||
LOCAL_C_INCLUDES += core/include
|
||||
|
||||
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_SHARED_LIBRARIES := libjsc
|
||||
|
@ -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
|
||||
|
||||
APP_STL := gnustl_static
|
||||
APP_CFLAGS += -std=c++14
|
||||
APP_CPPFLAGS := -std=c++14
|
||||
APP_CPPFLAGS += -frtti
|
||||
APP_CPPFLAGS += -fexceptions
|
||||
|
||||
# Make sure every shared lib includes a .note.gnu.build-id header
|
||||
APP_LDFLAGS := -Wl,--build-id
|
||||
|
||||
NDK_TOOLCHAIN_VERSION := 4.9
|
||||
APP_LDFLAGS := -llog
|
||||
|
Loading…
x
Reference in New Issue
Block a user