diff options
author | Andreas Baumann <mail@andreasbaumann.cc> | 2019-04-25 13:23:08 +0000 |
---|---|---|
committer | Andreas Baumann <mail@andreasbaumann.cc> | 2019-04-25 13:23:08 +0000 |
commit | 40f028b6cbd31fb3b6620f3a97457d7107ec7d1f (patch) | |
tree | e88c341ebcc9fc9af0a1b2cc15305348c5164274 /core | |
parent | dc263da093558909aabc6b242ddaa39af9bec3d6 (diff) | |
download | packages-40f028b6cbd31fb3b6620f3a97457d7107ec7d1f.tar.xz |
core/openssl-1.0: fixed build target and flags for P4, i686
Diffstat (limited to 'core')
-rw-r--r-- | core/openssl-1.0/PKGBUILD | 10 |
1 files changed, 8 insertions, 2 deletions
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 ' )" |