From 465235b4a7db5cdd8c045cf63e507b5b2603aead Mon Sep 17 00:00:00 2001 From: Andreas Baumann Date: Thu, 25 Apr 2019 15:46:23 +0200 Subject: core/openssl: fixed i486/i686/pentium4 optflags --- core/openssl/PKGBUILD | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) 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 -- cgit v1.2.3-70-g09d2