Skip to content

Commit

Permalink
LLT-5682 Research on page size 16kB
Browse files Browse the repository at this point in the history
Signed-off-by: Krzysztof Zapior <[email protected]>
  • Loading branch information
Krzysztof Zapior committed Dec 20, 2024
1 parent 0d420fc commit 1234511
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 1 deletion.
Empty file.
2 changes: 1 addition & 1 deletion build.rs
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,7 @@ fn main() -> Result<()> {
if target_os == "android" {
let pkg_name = env!("CARGO_PKG_NAME");
let soname = format!("lib{}.so", pkg_name);
println!("cargo:rustc-cdylib-link-arg=-Wl,-soname,{}", soname);
println!("cargo:rustc-cdylib-link-arg=-Wl,-z,max-page-size=16384,-soname,{}", soname);
}

#[cfg(windows)]
Expand Down

0 comments on commit 1234511

Please sign in to comment.