Skip to content

Commit 76d3ba4

Browse files
committed
build: Use new 16 KB page alignment on 64-bit Android
1 parent 1a94e80 commit 76d3ba4

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
@@ -274,6 +274,7 @@ check_symbol_exists(__printflike "bsd/sys/cdefs.h" HAVE_PRINTFLIKE)
274274

275275
if(CMAKE_SYSTEM_NAME STREQUAL Android)
276276
set(ENABLE_DTRACE_DEFAULT OFF)
277+
add_link_options("LINKER:-z,max-page-size=16384")
277278
endif()
278279

279280
if(CMAKE_SYSTEM_NAME STREQUAL FreeBSD)

0 commit comments

Comments
 (0)