From: vkryl <6242627+vkryl@users.noreply.github.com> Date: Fri, 15 Aug 2025 12:01:51 +0000 (+0300) Subject: Android: Enable 16 KB ELF alignment for `arm64-v8a` and `x86_64` platforms X-Git-Tag: openssl-3.6.0-alpha1~65 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3ec265978c064357aaa6b381647fe00070128414;p=thirdparty%2Fopenssl.git Android: Enable 16 KB ELF alignment for `arm64-v8a` and `x86_64` platforms CLA: trivial Reviewed-by: Hugo Landau Reviewed-by: Paul Dale Reviewed-by: Saša Nedvědický (Merged from https://github.com/openssl/openssl/pull/28277) --- diff --git a/Configurations/15-android.conf b/Configurations/15-android.conf index 1de6b7a9157..26d9d6508f5 100644 --- a/Configurations/15-android.conf +++ b/Configurations/15-android.conf @@ -232,6 +232,7 @@ my %targets = ( bn_ops => add("RC4_CHAR"), asm_arch => 'aarch64', perlasm_scheme => "linux64", + shared_ldflag => add("-Wl,-z,max-page-size=16384"), }, "android-mips" => { @@ -269,6 +270,7 @@ my %targets = ( bn_ops => add("RC4_INT"), asm_arch => 'x86_64', perlasm_scheme => "elf", + shared_ldflag => add("-Wl,-z,max-page-size=16384"), }, "android-riscv64" => {