From 29aed0812c62f20cd19474f4f5f09fbe0ac2b574 Mon Sep 17 00:00:00 2001 From: Nicola Corti Date: Sat, 5 Mar 2022 12:41:37 -0800 Subject: [PATCH] Revert Add support for C++17 in OSS for ReactAndroid Summary: changelog: internal This broke the build of `ReactAndroid`. The error reported is the following: https://github.com/react-native-community/docker-android/runs/5432343549?check_suite_focus=true Created from CodeHub with https://fburl.com/edit-in-codehub Reviewed By: ShikaSD Differential Revision: D34667826 fbshipit-source-id: fa84f03eca4cc7873088ebf2de473547dffea224 --- ReactAndroid/src/main/jni/Application.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ReactAndroid/src/main/jni/Application.mk b/ReactAndroid/src/main/jni/Application.mk index d2e739aa690..40ff08e84ac 100644 --- a/ReactAndroid/src/main/jni/Application.mk +++ b/ReactAndroid/src/main/jni/Application.mk @@ -27,7 +27,7 @@ NDK_MODULE_PATH := $(APP_MK_DIR)$(HOST_DIRSEP)$(THIRD_PARTY_NDK_DIR)$(HOST_DIRSE APP_STL := c++_shared APP_CFLAGS := -Wall -Werror -fexceptions -frtti -DWITH_INSPECTOR=1 -APP_CPPFLAGS := -std=c++17 +APP_CPPFLAGS := -std=c++1y # Make sure every shared lib includes a .note.gnu.build-id header APP_LDFLAGS := -Wl,--build-id