From 40f028b6cbd31fb3b6620f3a97457d7107ec7d1f Mon Sep 17 00:00:00 2001 From: Andreas Baumann Date: Thu, 25 Apr 2019 13:23:08 +0000 Subject: core/openssl-1.0: fixed build target and flags for P4, i686 --- core/openssl-1.0/PKGBUILD | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) (limited to 'core/openssl-1.0/PKGBUILD') diff --git a/core/openssl-1.0/PKGBUILD b/core/openssl-1.0/PKGBUILD index 19c81387..bff1d9e0 100644 --- a/core/openssl-1.0/PKGBUILD +++ b/core/openssl-1.0/PKGBUILD @@ -1,7 +1,13 @@ +# override openssltarget and optflags for our CARCHs eval "$( declare -f build | \ sed ' - s@linux-x86_64@linux-generic32@ - s@ enable-ec_nistp_64_gcc_128 @ @ + /.*.\/Configure.*/ i \ + openssltarget=linux-generic32 \ + if [ "${CARCH}" == 'i686' ]; then \ + optflags='no-sse2' \ + elif [ "${CARCH}" == 'i486' ]; then \ + optflags='386' \ + fi ' )" -- cgit v1.2.3-70-g09d2