Bug 1481378 - Simplify mozconfig.linux32. r=ted

All CI builds for linux32 have been running on 64-bits hosts for a long
while now, and there are no 32-bits hosts left. We can remove the
special-casing that makes the linux32 builds behave differently
depending on the bit-width of the host.

Furthermore, configure has been able to deal with adding -m32 on its
own, so we don't need to add it to $CC/$CXX manually anymore.
This commit is contained in:
Mike Hommey 2018-08-07 16:28:13 +09:00
parent 92f8dea8a0
commit 9eb572df9c

View File

@ -2,12 +2,8 @@
export MOZ_LINUX_32_SSE2_STARTUP_ERROR=1
CFLAGS="$CFLAGS -msse -msse2 -mfpmath=sse"
CXXFLAGS="$CXXFLAGS -msse -msse2 -mfpmath=sse"
CFLAGS="$CFLAGS -march=pentium-m -msse -msse2 -mfpmath=sse"
CXXFLAGS="$CXXFLAGS -march=pentium-m -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
fi
ac_add_options --target=i686-pc-linux
ac_add_options --host=i686-pc-linux