index : packages | |
Archlinux32 package modifications | gitolite user |
summaryrefslogtreecommitdiff |
author | Erich Eckner <git@eckner.net> | 2019-01-21 09:50:13 +0100 |
---|---|---|
committer | Erich Eckner <git@eckner.net> | 2019-01-21 09:50:13 +0100 |
commit | 64dab5e626f0eff2cc7760c018bfbf836f1c9321 (patch) | |
tree | 23b68838d97bc433d1742c9aa6fc1c47667ff984 /core/openssl/PKGBUILD | |
parent | 190caffff9a5355a9a31872b800d75bab0fa31ea (diff) | |
parent | 7d1da76a8b1031b042e634df60c909c713c423d7 (diff) |
-rw-r--r-- | core/openssl/PKGBUILD | 12 |
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 |