Bug 818418 - Only set STRIP_FLAGS=--strip-debug on Linux and a few BSDs. r=ted
authorMike Hommey <mh+mozilla@glandium.org>
Thu, 06 Dec 2012 17:06:39 +0100
changeset 115162 251478307d97c1c04f6d058293f95d1dfe083794
parent 115161 dedc2eaefa4989271719ec9cff37d5cbf18a6a79
child 115163 3bb2d53dde34ab8eb2823fc6c1b4b0a938a556c0
push id23975
push usermh@glandium.org
push dateThu, 06 Dec 2012 16:07:53 +0000
treeherdermozilla-central@3bb2d53dde34 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersted
bugs818418
milestone20.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 818418 - Only set STRIP_FLAGS=--strip-debug on Linux and a few BSDs. r=ted
configure.in
--- a/configure.in
+++ b/configure.in
@@ -1634,17 +1634,21 @@ dnl = Use profiling compile flags
 dnl ========================================================
 MOZ_ARG_ENABLE_BOOL(profiling,
 [  --enable-profiling      Set compile flags necessary for using sampling profilers (e.g. shark, perf)],
     MOZ_PROFILING=1,
     MOZ_PROFILING= )
 
 # For profiling builds keep the symbol information
 if test "$MOZ_PROFILING" -a -z "$STRIP_FLAGS"; then
-    STRIP_FLAGS="--strip-debug"
+    case "$OS_TARGET" in
+    Linux|DragonFly|FreeBSD|NetBSD|OpenBSD)
+        STRIP_FLAGS="--strip-debug"
+        ;;
+    esac
 fi
 
 dnl ========================================================
 dnl = Use incremental GC
 dnl ========================================================
 JSGC_INCREMENTAL=1
 MOZ_ARG_DISABLE_BOOL(gcincremental,
 [  --disable-gcincremental Disable incremental GC],