File tree Expand file tree Collapse file tree 2 files changed +4
-0
lines changed Expand file tree Collapse file tree 2 files changed +4
-0
lines changed Original file line number Diff line number Diff line change @@ -106,6 +106,8 @@ function(build_firebase_shared LIBRARY_NAME ARTIFACT_NAME OUTPUT_NAME)
106106 "-Wl,--no-undefined"
107107 # Link against the static libc++, which is the default done by Gradle.
108108 "-static-libstdc++"
109+ # Set the max page size to 16KB, needed by Android 15
110+ "-Wl,-z,max-page-size=16384"
109111 )
110112 add_custom_command (TARGET ${shared_target} POST_BUILD
111113 COMMAND "${ANDROID_TOOLCHAIN_PREFIX} strip" -g -S -d --strip-debug --verbose
Original file line number Diff line number Diff line change @@ -86,6 +86,8 @@ function(build_uni TARGET_LINK_LIB_NAMES PROJECT_LIST_HEADER_VARIABLE)
8686 "-Wl,--no-undefined"
8787 # Link against the static libc++, which is the default done by Gradle.
8888 "-static-libstdc++"
89+ # Set the max page size to 16KB, needed by Android 15
90+ "-Wl,-z,max-page-size=16384"
8991 )
9092 add_custom_command (TARGET firebase_app_uni POST_BUILD
9193 COMMAND "${ANDROID_TOOLCHAIN_PREFIX} strip" -g -S -d --strip-debug --verbose
You can’t perform that action at this time.
0 commit comments