diff --git a/packages/react-native-executorch/android/CMakeLists.txt b/packages/react-native-executorch/android/CMakeLists.txt index 433e4523d6..0212e869f8 100644 --- a/packages/react-native-executorch/android/CMakeLists.txt +++ b/packages/react-native-executorch/android/CMakeLists.txt @@ -45,7 +45,6 @@ endif() add_library(${CMAKE_PROJECT_NAME} SHARED ${RNE_SOURCES}) target_compile_definitions(${CMAKE_PROJECT_NAME} PRIVATE - C10_USING_CUSTOM_GENERATED_MACROS=1 EXECUTORCH_ENABLE_EXECUTION_PROFILING=1 ) diff --git a/packages/react-native-executorch/compile_flags.txt b/packages/react-native-executorch/compile_flags.txt index 5e215eaad2..2c10ab04f7 100644 --- a/packages/react-native-executorch/compile_flags.txt +++ b/packages/react-native-executorch/compile_flags.txt @@ -1,6 +1,5 @@ -xc++ -std=c++20 --DC10_USING_CUSTOM_GENERATED_MACROS=1 -DEXECUTORCH_ENABLE_EXECUTION_PROFILING=1 -Icpp -isystem../../node_modules/react-native/ReactCommon/jsi diff --git a/packages/react-native-executorch/react-native-executorch.podspec b/packages/react-native-executorch/react-native-executorch.podspec index 3f2ef08540..2d091e33d8 100644 --- a/packages/react-native-executorch/react-native-executorch.podspec +++ b/packages/react-native-executorch/react-native-executorch.podspec @@ -116,7 +116,6 @@ Pod::Spec.new do |s| "OTHER_CPLUSPLUSFLAGS" => extra_compiler_flags.join(' '), "GCC_PREPROCESSOR_DEFINITIONS" => [ "$(inherited)", - "C10_USING_CUSTOM_GENERATED_MACROS=1", "EXECUTORCH_ENABLE_EXECUTION_PROFILING=1", ].join(' '), "HEADER_SEARCH_PATHS" => [