bug 1333278 - set right path to STRIP for cross-compiled OS X universal builds. r?mshal draft
authorTed Mielczarek <ted@mielczarek.org>
Tue, 24 Jan 2017 14:09:50 -0500
changeset 465735 cf955fae63f709d5bfa4d2cee1ab08cbe53a4e22
parent 465527 8ff550409e1d1f8b54f6f7f115545dbef857be0b
child 543234 6d181ff47c9cac70400c0399798004df40bae752
push id42692
push userbmo:ted@mielczarek.org
push dateTue, 24 Jan 2017 19:10:11 +0000
reviewersmshal
bugs1333278
milestone54.0a1
bug 1333278 - set right path to STRIP for cross-compiled OS X universal builds. r?mshal MozReview-Commit-ID: EoyxMpSKw5V
build/macosx/universal/mozconfig.common
--- a/build/macosx/universal/mozconfig.common
+++ b/build/macosx/universal/mozconfig.common
@@ -36,17 +36,17 @@ if test "$MOZ_BUILD_APP" = "i386" -o "$M
   # conditionalized differences between builds.
   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
-  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 STRIP OTOOL