We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 32327cc commit 60a452bCopy full SHA for 60a452b
packages/react-native/ReactAndroid/hermes-engine/build.gradle
@@ -181,6 +181,8 @@ android {
181
// This has the (unlucky) side effect of letting AGP call the build
182
// tasks `configureCMakeRelease` while is actually building the debug flavor.
183
arguments "-DCMAKE_BUILD_TYPE=Release"
184
+ // Adding -O3 to patch the issue here: https://github.com/android/ndk/issues/1740#issuecomment-1198438260
185
+ cppFlags "-O3"
186
}
187
188
0 commit comments