From: John Paul Adrian Glaubitz Date: Sun, 15 Apr 2018 06:49:43 +0000 (+0200) Subject: Use -msse{2} -fpmath C-/CXXFLAGS only on x86_64 platforms X-Git-Tag: archive/raspbian/1%60.9.0-1_deb10u1+rpi1^2~1^2~7 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=547ac079302fee23288481a013aaba875dcb2ef8;p=thunderbird.git Use -msse{2} -fpmath C-/CXXFLAGS only on x86_64 platforms The options -msse -msse2 -mfpmath=sse are only available on AMD64 based platforms. Gbp-Pq: Topic fixes Gbp-Pq: Name Use-msse-2-fpmath-C-CXXFLAGS-only-on-x86_64-platforms.patch --- diff --git a/build/unix/mozconfig.linux32 b/build/unix/mozconfig.linux32 index b9ac630c5f..cf68b495a7 100644 --- a/build/unix/mozconfig.linux32 +++ b/build/unix/mozconfig.linux32 @@ -2,12 +2,11 @@ export MOZ_LINUX_32_SSE2_STARTUP_ERROR=1 -CFLAGS="$CFLAGS -msse -msse2 -mfpmath=sse" -CXXFLAGS="$CXXFLAGS -msse -msse2 -mfpmath=sse" - if test `uname -m` = "x86_64"; then CC="$CC -m32 -march=pentium-m" CXX="$CXX -m32 -march=pentium-m" ac_add_options --target=i686-pc-linux ac_add_options --host=i686-pc-linux + CFLAGS="$CFLAGS -msse -msse2 -mfpmath=sse" + CXXFLAGS="$CXXFLAGS -msse -msse2 -mfpmath=sse" fi