summaryrefslogtreecommitdiff
path: root/core
diff options
context:
space:
mode:
Diffstat (limited to 'core')
-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