Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/core/openssl/PKGBUILD
diff options
context:
space:
mode:
authorAndreas Baumann <mail@andreasbaumann.cc>2019-04-25 15:46:23 +0200
committerAndreas Baumann <mail@andreasbaumann.cc>2019-04-25 15:46:23 +0200
commit465235b4a7db5cdd8c045cf63e507b5b2603aead (patch)
treece994d2d2874a527f2650f8e1bfa257208332785 /core/openssl/PKGBUILD
parent40f028b6cbd31fb3b6620f3a97457d7107ec7d1f (diff)
core/openssl: fixed i486/i686/pentium4 optflags
Diffstat (limited to 'core/openssl/PKGBUILD')
-rw-r--r--core/openssl/PKGBUILD12
1 files changed, 11 insertions, 1 deletions
diff --git a/core/openssl/PKGBUILD b/core/openssl/PKGBUILD
index 1e6e1b30..ddf5f7ed 100644
--- a/core/openssl/PKGBUILD
+++ b/core/openssl/PKGBUILD
@@ -12,7 +12,17 @@ if [ "${CARCH}" = "i486" ]; then
eval "$(
declare -f build | \
sed '
- s@no-ssl3-method@no-ssl3-method no-ssl2 no-ssl3@
+ s@no-ssl3-method@no-ssl3-method i386@
+ '
+ )"
+fi
+
+# i686-specific, disable hand-crafted assembly code
+if [ "${CARCH}" = "i686" ]; then
+ eval "$(
+ declare -f build | \
+ sed '
+ s@no-ssl3-method@no-ssl3-method no-sse2@
'
)"
fi