Bug 1333278 - Set right path to STRIP for cross-compiled OS X universal builds. r=mshal, a=NPOTB
authorTed Mielczarek <ted@mielczarek.org>
Tue, 24 Jan 2017 14:09:50 -0500
changeset 353819 0916e803079ec21058a2141d08b44fe24800ba13
parent 353818 11198ed324d9caec967600d469a63d96f971c040
child 353820 b0440bb8c935c3ad0f471293bb5a4417e85f0a50
push id6815
push userryanvm@gmail.com
push dateTue, 24 Jan 2017 21:14:41 +0000
treeherdermozilla-esr52@0916e803079e [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersmshal, NPOTB
bugs1333278
milestone52.0
Bug 1333278 - Set right path to STRIP for cross-compiled OS X universal builds. r=mshal, a=NPOTB MozReview-Commit-ID: EoyxMpSKw5V
build/macosx/universal/mozconfig.common
--- a/build/macosx/universal/mozconfig.common
+++ b/build/macosx/universal/mozconfig.common
@@ -37,17 +37,17 @@ if test "$MOZ_BUILD_APP" = "i386" -o "$M
   CC="$CC -arch $TARGET_CPU"
   CXX="$CXX -arch $TARGET_CPU"
 
   # These must be set for cross builds, and don't hurt straight builds.
   RANLIB="${TOOLCHAIN_PREFIX}ranlib"
   AR="${TOOLCHAIN_PREFIX}ar"
   AS=$CC
   LD=ld
-  STRIP="strip"
+  STRIP="${TOOLCHAIN_PREFIX}strip"
   OTOOL="${TOOLCHAIN_PREFIX}otool"
 
   # 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 OTOOL