index : packages | |
Archlinux32 package modifications | gitolite user |
summaryrefslogtreecommitdiff |
-rw-r--r-- | core/openssl-1.0/PKGBUILD | 14 |
diff --git a/core/openssl-1.0/PKGBUILD b/core/openssl-1.0/PKGBUILD index 5475ccdb..bff1d9e0 100644 --- a/core/openssl-1.0/PKGBUILD +++ b/core/openssl-1.0/PKGBUILD @@ -1,11 +1,13 @@ +# override openssltarget and optflags for our CARCHs eval "$( declare -f build | \ sed ' - /^\s*if .*i686/ { - s/\(['"'"'"]\?\)i686\1/i?86/ - s/\[/[[/ - s/]/]]/ - s/==/=/ - } + /.*.\/Configure.*/ i \ + openssltarget=linux-generic32 \ + if [ "${CARCH}" == 'i686' ]; then \ + optflags='no-sse2' \ + elif [ "${CARCH}" == 'i486' ]; then \ + optflags='386' \ + fi ' )" |