Port Bug 873334 - Add -march=pentiumpro when building in x64 buildbot environments. rs=bustage-fix for make check tests
authorMark Banner <bugzilla@standard8.plus.com>
Wed, 29 May 2013 13:54:22 +0100
changeset 15678 e6dd1492c042ac87747d2e1ca75bd3201a03ac4b
parent 15677 3ac3e87c62d51b6e5abe4f6524741a20f4a2bc0e
child 15679 2f4ce52276d0d1e8e40d63fd8a82a86a89308b6b
push idunknown
push userunknown
push dateunknown
reviewersbustage-fix
bugs873334
Port Bug 873334 - Add -march=pentiumpro when building in x64 buildbot environments. rs=bustage-fix for make check tests
build/unix/mozconfig.linux32
--- a/build/unix/mozconfig.linux32
+++ b/build/unix/mozconfig.linux32
@@ -1,9 +1,10 @@
 . "$topsrcdir/build/unix/mozconfig.linux"
 
 if test `uname -m` = "x86_64"; then
-  CC="$CC -m32"
-  CXX="$CXX -m32"
+  # -march=pentiumpro is what our 32-bit native toolchain defaults to
+  CC="$CC -m32 -march=pentiumpro"
+  CXX="$CXX -m32 -march=pentiumpro"
   ac_add_options --target=i686-pc-linux
   ac_add_options --x-libraries=/usr/lib
   export PKG_CONFIG_LIBDIR=/usr/lib/pkgconfig:/usr/share/pkgconfig
 fi