Skip to content

Commit ed4c2a1

Browse files
authored
Merge pull request #893 from finagolfin/page
build: Use new 16 KB page alignment on 64-bit Android
2 parents bb7641e + 7fc19ec commit ed4c2a1

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)