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:
@@ -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
|
||||
|
||||
5
mozilla/directory/c-sdk/configure
vendored
5
mozilla/directory/c-sdk/configure
vendored
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user