Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/core/glibc/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'core/glibc/PKGBUILD')
-rw-r--r--core/glibc/PKGBUILD5
1 files changed, 3 insertions, 2 deletions
diff --git a/core/glibc/PKGBUILD b/core/glibc/PKGBUILD
index a8d3312f..d8798b49 100644
--- a/core/glibc/PKGBUILD
+++ b/core/glibc/PKGBUILD
@@ -58,8 +58,9 @@ if [ "${CARCH}" = "pentium4" ]; then
eval "$(
declare -f build | \
sed '
- /.*local _configure_flags.*/ a \
- _configure_flags="$_configure_flags -mfpmath=sse -msse2 -mstackrealign"
+ /.*glibc.*configure.*/ i \
+ CFLAGS=\"${CFLAGS} -mfpmath=sse -msse2 -mstackrealign\" \
+ CXXFLAGS=\"${CXXFLAGS} -mfpmath=sse -msse2 -mstackrealign\"
'
)"
fi