From 6995161c3262649166ef86e1f6ae71d29a7103c4 Mon Sep 17 00:00:00 2001 From: Andreas Baumann Date: Sun, 29 Sep 2019 18:16:16 +0200 Subject: extra/chromium: more i686 patching, no sse fpmath --- extra/chromium/PKGBUILD | 6 ++++-- 1 file 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 -- cgit v1.2.3-70-g09d2