Bug 479978 - remove references to MOZ_PROFILE from the build system.

(duplicates functionality of MOZ_DEBUG_SYMBOLS). Patch contributed by
  Serge Gautherie <sgautherie.bz@free.fr>. r=mcs.


git-svn-id: svn://10.0.0.236/trunk@256679 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
mcs%pearlcrescent.com
2009-03-25 13:04:20 +00:00
parent 346acfa7c0
commit 3f5b68250e
3 changed files with 0 additions and 17 deletions

View File

@@ -78,13 +78,6 @@ DEFINES = -UDEBUG -U_DEBUG -DNDEBUG
DLLFLAGS = -OUT:"$@"
OBJDIR_TAG = _OPT
# Add symbolic information for use by a profiler
ifdef MOZ_PROFILE
OPTIMIZER += -Zi
DLLFLAGS += -DEBUG
LDFLAGS += -DEBUG
endif
else
#
# Define USE_DEBUG_RTL if you want to use the debug runtime library

View File

@@ -4803,13 +4803,8 @@ EOF
fi
if test -n "$MOZ_OPTIMIZE"; then
if test -n "$MOZ_PROFILE"; then
_OPTIMIZE_FLAGS="$_OPTIMIZE_FLAGS -Z7"
fi
if test -n "$MOZ_DEBUG_SYMBOLS"; then
_OPTIMIZE_FLAGS="$_OPTIMIZE_FLAGS -Zi"
fi
if test -n "$MOZ_PROFILE" -o -n "$MOZ_DEBUG_SYMBOLS"; then
DLLFLAGS="$DLLFLAGS -DEBUG -OPT:REF"
LDFLAGS="$LDFLAGS -DEBUG -OPT:REF"
fi

View File

@@ -1601,13 +1601,8 @@ tools are selected during the Xcode/Developer Tools installation.])
fi
if test -n "$MOZ_OPTIMIZE"; then
if test -n "$MOZ_PROFILE"; then
_OPTIMIZE_FLAGS="$_OPTIMIZE_FLAGS -Z7"
fi
if test -n "$MOZ_DEBUG_SYMBOLS"; then
_OPTIMIZE_FLAGS="$_OPTIMIZE_FLAGS -Zi"
fi
if test -n "$MOZ_PROFILE" -o -n "$MOZ_DEBUG_SYMBOLS"; then
DLLFLAGS="$DLLFLAGS -DEBUG -OPT:REF"
LDFLAGS="$LDFLAGS -DEBUG -OPT:REF"
fi