index : packages | |
Archlinux32 package modifications | gitolite user |
summaryrefslogtreecommitdiff |
-rw-r--r-- | core/openssl-1.0/PKGBUILD | 10 |
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 ' )" |