Port Bug 462427 - CROSS_COMPILE should not be required when cross compiling. rs=port-by-builds-system-peer,a=Standard8 for CLOSED TREE
authorMark Banner <standard8@mozilla.com>
Thu, 14 Aug 2014 12:08:23 +0100
changeset 16472 9057391af24bda9fd5251a85e7b9a2e704a02723
parent 16471 c61b65c5397ae53e594af4925194905558541a8b
child 16473 c8f5d9af85495dbccc1499011d37110f8f77d561
push id1234
push usermbanner@mozilla.com
push dateMon, 13 Oct 2014 17:59:18 +0000
treeherdercomm-esr52@b5a0add9fb18 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersport-by-builds-system-peer, Standard8
bugs462427
Port Bug 462427 - CROSS_COMPILE should not be required when cross compiling. rs=port-by-builds-system-peer,a=Standard8 for CLOSED TREE
build/macosx/universal/mozconfig.common
--- a/build/macosx/universal/mozconfig.common
+++ b/build/macosx/universal/mozconfig.common
@@ -38,21 +38,16 @@ if test "$MOZ_BUILD_APP" = "i386" -o "$M
 
   # These must be set for cross builds, and don't hurt straight builds.
   RANLIB=ranlib
   AR=ar
   AS=$CC
   LD=ld
   STRIP="strip"
 
-  # Let configure know that we mean business.
-  if test "$NATIVE_CPU" != "$TARGET_CPU" ; then
-    CROSS_COMPILE=1
-  fi
-
   # Each per-CPU build should be entirely oblivious to the fact that a
   # universal binary will be produced.  The exception is packager.mk, which
   # needs to know to look for universal bits when building the .dmg.
   UNIVERSAL_BINARY=1
 
   export CC CXX HOST_CC HOST_CXX RANLIB AR AS LD STRIP
 fi
 fi