Fix build flags for aarch64.

This commit is contained in:
Tomas Mraz 2016-10-11 11:17:20 +02:00
parent 4e52f8d3db
commit 635f6a80a8

View File

@ -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