Bug 232600: use the same linker flags for programs as for DLLs when doing NSS_3_11_BRANCH NSS_3_11_5_BETA2 SONGBIRD_20070117_01_TAG
authorwtchang%redhat.com
Sun, 14 Jan 2007 02:53:29 +0000
branchNSS_3_11_BRANCH
changeset 7631 56ad610fc9f455a05a2ccdf2550c0a3bb825abd6
parent 7628 e488209ea5c692be3bc2433b3b0134cde307da86
child 7633 eba11d8a74636f031c858fbf0843fd7d4fbaf5f9
push idunknown
push userunknown
push dateunknown
bugs232600
Bug 232600: use the same linker flags for programs as for DLLs when doing optimized builds with MOZ_DEBUG_SYMBOLS=1. r=nelsonb Tag: NSS_3_11_BRANCH
security/coreconf/WIN32.mk
--- a/security/coreconf/WIN32.mk
+++ b/security/coreconf/WIN32.mk
@@ -125,16 +125,17 @@ else # !NS_USE_GCC
 	ifdef MOZ_PROFILE
 		OPTIMIZER += -Z7
 	endif
 	ifdef MOZ_DEBUG_SYMBOLS
 		OPTIMIZER += -Zi
 	endif
 	ifneq (,$(MOZ_PROFILE)$(MOZ_DEBUG_SYMBOLS))
 		DLLFLAGS += -DEBUG -OPT:REF
+		LDFLAGS += -DEBUG -OPT:REF
 	endif
     else
 	#
 	# Define USE_DEBUG_RTL if you want to use the debug runtime library
 	# (RTL) in the debug build
 	#
 	ifdef USE_DEBUG_RTL
 		OS_CFLAGS += -MDd