Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/extra/chromium
diff options
context:
space:
mode:
Diffstat (limited to 'extra/chromium')
-rw-r--r--extra/chromium/PKGBUILD6
1 files changed, 4 insertions, 2 deletions
diff --git a/extra/chromium/PKGBUILD b/extra/chromium/PKGBUILD
index c5c8667e..f0bf949b 100644
--- a/extra/chromium/PKGBUILD
+++ b/extra/chromium/PKGBUILD
@@ -36,13 +36,15 @@ eval "$(
)"
# disable SSE2 for i686 (no i486 yet, flags are in the same place for MMX and SSE math, but
-# we don't even have a gui yet)
+# we don't even have a gui yet), also disable SSE math as this is not supported with march=i686
+# (at least gcc)
if [ "$CARCH" = 'i686' ]; then
eval "$(
declare -f build | \
sed '
/gn gen/ i \
- sed -i '\''s/"-msse2"/""/'\'' build/config/compiler/BUILD.gn
+ sed -i '\''s/"-msse2"/""/'\'' build/config/compiler/BUILD.gn \
+ sed -i '\''s/"-mfpmath=sse"/""/'\'' build/config/compiler/BUILD.gn
'
)"
fi