Skip to content

Commit 7fc3534

Browse files
QuentGpatlux
authored andcommitted
fix(android): add support for flexible page sizes (16kb) in CMake build configuration
1 parent 4c8c472 commit 7fc3534

File tree

1 file changed

+2
-1
lines changed
  • packages/react-native-bluetooth-state-manager/android

1 file changed

+2
-1
lines changed

packages/react-native-bluetooth-state-manager/android/build.gradle

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,8 @@ android {
5252
externalNativeBuild {
5353
cmake {
5454
cppFlags "-O2 -frtti -fexceptions -Wall -fstack-protector-all"
55-
arguments "-DANDROID_STL=c++_shared"
55+
arguments "-DANDROID_STL=c++_shared",
56+
"-DANDROID_SUPPORT_FLEXIBLE_PAGE_SIZES=ON"
5657
abiFilters (*reactNativeArchitectures())
5758
}
5859
}

0 commit comments

Comments
 (0)