From 635f6a80a8232e82f01da70fb43e003de3eee4a7 Mon Sep 17 00:00:00 2001 From: Tomas Mraz Date: Tue, 11 Oct 2016 11:17:20 +0200 Subject: [PATCH] Fix build flags for aarch64. --- openssl-1.1.0-build.patch | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/openssl-1.1.0-build.patch b/openssl-1.1.0-build.patch index 7c1b5e7..05b39aa 100644 --- a/openssl-1.1.0-build.patch +++ b/openssl-1.1.0-build.patch @@ -21,6 +21,17 @@ diff -up openssl-1.1.0b/Configurations/10-main.conf.build openssl-1.1.0b/Configu }, "linux-armv4" => { +@@ -680,7 +681,10 @@ sub vms_info { + }, + "linux-aarch64" => { + inherit_from => [ "linux-generic64", asm("aarch64_asm") ], ++ cflags => add("-m64 -DL_ENDIAN"), + perlasm_scheme => "linux64", ++ shared_ldflag => "-m64", ++ multilib => "64", + }, + "linux-arm64ilp32" => { # https://wiki.linaro.org/Platform/arm64-ilp32 + inherit_from => [ "linux-generic32", asm("aarch64_asm") ], diff -up openssl-1.1.0b/crypto/ec/ec_lib.c.build openssl-1.1.0b/crypto/ec/ec_lib.c --- openssl-1.1.0b/crypto/ec/ec_lib.c.build 2016-09-26 15:16:26.936660171 +0200 +++ openssl-1.1.0b/crypto/ec/ec_lib.c 2016-09-26 15:18:38.351742195 +0200