diff --git a/node_modules/@sentry/react-native/RNSentry.podspec b/node_modules/@sentry/react-native/RNSentry.podspec index 2ad70ce..711d7f0 100644 --- a/node_modules/@sentry/react-native/RNSentry.podspec +++ b/node_modules/@sentry/react-native/RNSentry.podspec @@ -7,12 +7,9 @@ rn_version = get_rn_version(rn_package) is_hermes_default = is_hermes_default(rn_version) is_profiling_supported = is_profiling_supported(rn_version) -folly_flags = ' -DFOLLY_NO_CONFIG -DFOLLY_MOBILE=1 -DFOLLY_USE_LIBCPP=1' -folly_compiler_flags = folly_flags + ' ' + '-Wno-comma -Wno-shorten-64-to-32' - is_new_arch_enabled = ENV["RCT_NEW_ARCH_ENABLED"] == "1" is_using_hermes = (ENV['USE_HERMES'] == nil && is_hermes_default) || ENV['USE_HERMES'] == '1' -new_arch_enabled_flag = (is_new_arch_enabled ? folly_compiler_flags + " -DRCT_NEW_ARCH_ENABLED" : "") +new_arch_enabled_flag = (is_new_arch_enabled ? " -DRCT_NEW_ARCH_ENABLED" : "") sentry_profiling_supported_flag = (is_profiling_supported ? " -DSENTRY_PROFILING_SUPPORTED=1" : "") other_cflags = "$(inherited)" + new_arch_enabled_flag + sentry_profiling_supported_flag