Bug 168360: Add support for the MOZ_PROFILE build option.

This commit is contained in:
wtc%netscape.com 2002-09-12 23:32:58 +00:00
parent 94c4f86575
commit ce39e47a35

View File

@ -73,6 +73,13 @@ ifdef BUILD_OPT
OPTIMIZER += -O2
DEFINES += -UDEBUG -U_DEBUG -DNDEBUG
DLLFLAGS += -OUT:"$@"
#
# Add symbolic information for a profiler
#
ifdef MOZ_PROFILE
OPTIMIZER += -Z7
DLLFLAGS += -DEBUG -DEBUGTYPE:CV
endif
else
#
# Define USE_DEBUG_RTL if you want to use the debug runtime library