Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 8 additions & 3 deletions xcrash_lib/src/main/cpp/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,10 @@ target_include_directories(xcrash PUBLIC

target_link_libraries(xcrash
log
dl)

dl
"-Wl,-z,max-page-size=16384"
"-Wl,-z,common-page-size=16384"
)
if(USEASAN)

target_compile_options(xcrash PUBLIC
Expand Down Expand Up @@ -111,7 +113,10 @@ target_include_directories(xcrash_dumper PUBLIC

target_link_libraries(xcrash_dumper
log
dl)
dl
"-Wl,-z,max-page-size=16384"
"-Wl,-z,common-page-size=16384"
)

if(USEASAN)

Expand Down