Bug 818418 - Only set STRIP_FLAGS=--strip-debug on Linux and a few BSDs. r=ted

This commit is contained in:
Mike Hommey 2012-12-06 17:06:39 +01:00
parent d7adf7f0d3
commit 860c9fba57

View File

@ -1639,7 +1639,11 @@ MOZ_ARG_ENABLE_BOOL(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 ========================================================