Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/core/glibc
diff options
context:
space:
mode:
Diffstat (limited to 'core/glibc')
-rw-r--r--core/glibc/PKGBUILD13
1 files changed, 13 insertions, 0 deletions
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