diff options
author | Andreas Baumann <mail@andreasbaumann.cc> | 2018-10-04 09:21:52 +0200 |
---|---|---|
committer | Andreas Baumann <mail@andreasbaumann.cc> | 2018-10-04 09:21:52 +0200 |
commit | 6b7f1a32ea1c710dc290f38fe59906ee9e69d037 (patch) | |
tree | e893d203e0f622c99707a218270b0400a5c1f69b /core | |
parent | 37367580269610419dd61d35d5a40dd7763a24c2 (diff) | |
download | packages-6b7f1a32ea1c710dc290f38fe59906ee9e69d037.tar.xz |
core/openssl: adapted to upstream removal of 32-bit switch (openssltarget)
Diffstat (limited to 'core')
-rw-r--r-- | core/openssl/PKGBUILD | 12 |
1 files changed, 9 insertions, 3 deletions
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 |