index : packages | |
Archlinux32 package modifications | gitolite user |
summaryrefslogtreecommitdiff |
-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 |