diff options
author | wtc%netscape.com <devnull@localhost> | 2002-09-12 23:32:58 +0000 |
---|---|---|
committer | wtc%netscape.com <devnull@localhost> | 2002-09-12 23:32:58 +0000 |
commit | 072df727d022b86c1350f4fe2c45e6892eae398b (patch) | |
tree | bb61da017064c55848bc4a2a098816eb612b52dd | |
parent | 4f86054c2e97396dd6e3d2c4787c1523a5183daf (diff) | |
download | nss-hg-072df727d022b86c1350f4fe2c45e6892eae398b.tar.gz |
Bug 168360: Add support for the MOZ_PROFILE build option.
-rw-r--r-- | security/coreconf/WIN32.mk | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/security/coreconf/WIN32.mk b/security/coreconf/WIN32.mk index 1c438cf64..a61a9f8c7 100644 --- a/security/coreconf/WIN32.mk +++ b/security/coreconf/WIN32.mk @@ -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 |