Bug 873334 - Add -march=pentiumpro when building in x64 buildbot environments. r=ted
authorMike Hommey <mh+mozilla@glandium.org>
Tue, 28 May 2013 09:42:58 +0200
changeset 133100 0a4f4f342acff9bcb5e0bde9b349bc51cc73bee0
parent 133099 5c9f8afb8412a1c34e7a4042f468a7d46e478e47
child 133101 eb6cd5c88fc7d003bd985b5640b45fa5c2b081a4
push id24744
push userryanvm@gmail.com
push dateWed, 29 May 2013 01:22:47 +0000
treeherdermozilla-central@495b385ae811 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersted
bugs873334
milestone24.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 873334 - Add -march=pentiumpro when building in x64 buildbot environments. r=ted
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