update android to use c++17 and enable exceptions

This commit is contained in:
Mats 2021-09-22 23:38:58 +02:00
parent f173be0f39
commit 33531519ea

View File

@ -20,6 +20,6 @@ include $(CLEAR_VARS)
LOCAL_MODULE := retro
LOCAL_SRC_FILES := $(SOURCES_C) $(SOURCES_CXX) $(SOURCES_S)
LOCAL_CFLAGS := $(CORE_FLAGS)
LOCAL_CPPFLAGS := -std=c++14 $(CORE_FLAGS)
LOCAL_CPPFLAGS := -std=c++17 -fexceptions $(CORE_FLAGS)
LOCAL_LDFLAGS := -Wl,-version-script=$(CORE_DIR)/link.T
include $(BUILD_SHARED_LIBRARY)