Skip to content

Commit

Permalink
update: Android update the page size to 16kB
Browse files Browse the repository at this point in the history
  • Loading branch information
Krzysztof Zapior committed Oct 11, 2024
1 parent b1e9f40 commit 6229995
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion norddrop/build.rs
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ fn main() -> Result<(), Box<dyn Error>> {
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);
}

Ok(())
Expand Down

0 comments on commit 6229995

Please sign in to comment.