Skip to content

Commit 77c175e

Browse files
committed
Make improvements according to the official manual.
1 parent 81d6774 commit 77c175e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

library/src/main/jni/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@ target_link_libraries(CGE PUBLIC
9292

9393
if(DEFINED ENABLE_16K_PAGE_SIZES AND ENABLE_16K_PAGE_SIZES)
9494
# 16KB elf: <https://developer.android.com/guide/practices/page-sizes#cmake>
95-
target_link_options(CGE PUBLIC -Wl,-z,max-page-size=16384)
95+
target_link_options(CGE PUBLIC -Wl,-z,max-page-size=16384,-z,common-page-size=16384)
9696
message("ENABLE_16K_PAGE_SIZES=${ENABLE_16K_PAGE_SIZES}")
9797
endif()
9898

0 commit comments

Comments
 (0)