From 33531519ea2ce0c259efcb39e6cabab5d81a14b7 Mon Sep 17 00:00:00 2001 From: Mats Date: Wed, 22 Sep 2021 23:38:58 +0200 Subject: [PATCH] update android to use c++17 and enable exceptions --- jni/Android.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/jni/Android.mk b/jni/Android.mk index cffca35b..299a8d26 100644 --- a/jni/Android.mk +++ b/jni/Android.mk @@ -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)