Skip to content

Commit 7fc19ec

Browse files
committed
build: Use new 16 KB page alignment on 64-bit Android
1 parent bb7641e commit 7fc19ec

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

CMakeLists.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -267,6 +267,7 @@ check_symbol_exists(__printflike "bsd/sys/cdefs.h" HAVE_PRINTFLIKE)
267267

268268
if(ANDROID)
269269
set(ENABLE_DTRACE_DEFAULT OFF)
270+
add_link_options("LINKER:-z,max-page-size=16384")
270271
endif()
271272

272273
if(BSD)

0 commit comments

Comments
 (0)