From 6b7f1a32ea1c710dc290f38fe59906ee9e69d037 Mon Sep 17 00:00:00 2001 From: Andreas Baumann Date: Thu, 4 Oct 2018 09:21:52 +0200 Subject: core/openssl: adapted to upstream removal of 32-bit switch (openssltarget) --- core/openssl/PKGBUILD | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) (limited to 'core/openssl') diff --git a/core/openssl/PKGBUILD b/core/openssl/PKGBUILD index e3e0d088..4446cbc6 100644 --- a/core/openssl/PKGBUILD +++ b/core/openssl/PKGBUILD @@ -1,11 +1,17 @@ -# i486-specific +# switch to 32-bit target (was linux-elf before, which I think is wrong also for i686) +eval "$( + declare -f build | \ + sed ' + s@linux-x86_64@linux-generic32@ + ' +)" + +# i486-specific, disable hand-crafted assembly code if [ "${CARCH}" = "i486" ]; then eval "$( declare -f build | \ sed ' s@no-ssl3-method@no-ssl3-method no-ssl2 no-ssl3@ - s@'i686'@'i486'@ - s@'linux-elf'@'linux-generic32'@ ' )" fi -- cgit v1.2.3-70-g09d2