Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/core
diff options
context:
space:
mode:
authorAndreas Baumann <mail@andreasbaumann.cc>2019-06-21 09:47:40 +0200
committerAndreas Baumann <mail@andreasbaumann.cc>2019-06-21 09:47:40 +0200
commit09d03cbd4c57b8eabfadd22b67929d958b2409d7 (patch)
tree8dcf8ae4f0603e08b8222cf0ad93a22fdf862459 /core
parentaf7196a3e01837a5be810e74c313a8a692f91331 (diff)
core/glibc: pentium4, add -mfpmath=sse -msse2 -mstackrealign trying to fix FS32#75 (Java segfaults)
Diffstat (limited to 'core')
-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