index : packages | |
Archlinux32 package modifications | gitolite user |
summaryrefslogtreecommitdiff |
author | Andreas Baumann <mail@andreasbaumann.cc> | 2019-06-21 09:47:40 +0200 |
---|---|---|
committer | Andreas Baumann <mail@andreasbaumann.cc> | 2019-06-21 09:47:40 +0200 |
commit | 09d03cbd4c57b8eabfadd22b67929d958b2409d7 (patch) | |
tree | 8dcf8ae4f0603e08b8222cf0ad93a22fdf862459 /core/glibc/PKGBUILD | |
parent | af7196a3e01837a5be810e74c313a8a692f91331 (diff) |
-rw-r--r-- | core/glibc/PKGBUILD | 13 |
diff --git a/core/glibc/PKGBUILD b/core/glibc/PKGBUILD index d0f83c36..a8d3312f 100644 --- a/core/glibc/PKGBUILD +++ b/core/glibc/PKGBUILD @@ -49,4 +49,17 @@ if [ "${CARCH}" = "i486" ]; then fi +# pentium4 specific + makedepends_pentium4=("${makedepends_i686[@]}") + +# make Java segfaults go away +if [ "${CARCH}" = "pentium4" ]; then + eval "$( + declare -f build | \ + sed ' + /.*local _configure_flags.*/ a \ + _configure_flags="$_configure_flags -mfpmath=sse -msse2 -mstackrealign" + ' + )" +fi |