Bug 468701, pass MOZ_DEBUG_SYMBOLS onto NSS on all platforms (not just win32), r=ted.mielczarek
authorNick Thomas <nthomas@mozilla.com>
Wed, 02 Sep 2009 21:24:59 +1200
changeset 32154 75af94f85a98feaa9dcc32980b08c116642c5cb0
parent 32153 7f1305cd07dea54499c116434878e220328f914c
child 32155 04abdabd34b4d61102a5fbf550fa498aee848c5a
push id8884
push usernthomas@mozilla.com
push dateWed, 02 Sep 2009 09:25:03 +0000
treeherdermozilla-central@75af94f85a98 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersted
bugs468701
milestone1.9.3a1pre
Bug 468701, pass MOZ_DEBUG_SYMBOLS onto NSS on all platforms (not just win32), r=ted.mielczarek
security/manager/Makefile.in
--- a/security/manager/Makefile.in
+++ b/security/manager/Makefile.in
@@ -156,16 +156,19 @@ else
 NSPR_LIB_DIR = $(ABS_DIST)/lib
 endif
 # Can't pass this in DEFAULT_GMAKE_FLAGS because that overrides
 # definitions in NSS, so just export it into the sub-make's environment.
 ifeq (WINNT_1,$(OS_TARGET)_$(MOZ_MEMORY))
 export DLLFLAGS
 endif
 
+# To get debug symbols from NSS
+export MOZ_DEBUG_SYMBOLS
+
 ifdef .PYMAKE
 NSSMAKE = $(GMAKE)
 else
 NSSMAKE = $(MAKE)
 endif
 
 # NSS makefiles are not safe for parallel execution.
 DEFAULT_GMAKE_FLAGS = MAKE="$(NSSMAKE) -j1" -j1
@@ -203,17 +206,16 @@ DEFAULT_GMAKE_FLAGS += USE_64=1
 endif
 ifeq ($(OS_ARCH),WINNT)
 DEFAULT_GMAKE_FLAGS += OS_TARGET=WIN95
 ifdef MOZ_DEBUG
 ifndef MOZ_NO_DEBUG_RTL
 DEFAULT_GMAKE_FLAGS += USE_DEBUG_RTL=1
 endif
 endif
-export MOZ_DEBUG_SYMBOLS
 endif # WINNT
 ifeq ($(OS_ARCH),OS2)
 ifdef MOZ_OS2_HIGH_MEMORY
 DEFAULT_GMAKE_FLAGS += MOZ_OS2_HIGH_MEMORY=1
 endif
 endif # OS2
 # OS_CFLAGS needs to be passed on down.
 ifeq ($(OS_ARCH),OpenVMS)