From 09d03cbd4c57b8eabfadd22b67929d958b2409d7 Mon Sep 17 00:00:00 2001 From: Andreas Baumann Date: Fri, 21 Jun 2019 09:47:40 +0200 Subject: core/glibc: pentium4, add -mfpmath=sse -msse2 -mstackrealign trying to fix FS32#75 (Java segfaults) --- core/glibc/PKGBUILD | 13 +++++++++++++ 1 file changed, 13 insertions(+) (limited to 'core/glibc') 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 -- cgit v1.2.3-70-g09d2