diff nt/nmake.defs @ 36859:d4c0b7a5bc48

(DEBUG_LINK): New macro. (LINK_FLAGS): Use it.
author Andrew Innes <andrewi@gnu.org>
date Sun, 18 Mar 2001 16:55:28 +0000
parents 19b74f67a4ae
children 3e0214f03d95
line wrap: on
line diff
--- a/nt/nmake.defs	Sun Mar 18 16:54:35 2001 +0000
+++ b/nt/nmake.defs	Sun Mar 18 16:55:28 2001 +0000
@@ -161,8 +161,10 @@
 
 !ifdef NODEBUG
 DEBUG_FLAG = 
+DEBUG_LINK = 
 !else
 DEBUG_FLAG = -Zi
+DEBUG_LINK = -debug:full -debugtype:both
 !endif
 
 !if "$(ARCH)" == "i386"
@@ -200,7 +202,7 @@
 !endif
 !endif
 
-LINK_FLAGS	= $(ARCH_LDFLAGS) $(USER_LDFLAGS)
+LINK_FLAGS	= $(ARCH_LDFLAGS) $(DEBUG_LINK) $(USER_LDFLAGS)
 
 # From MSVC 5.0 onwards, it seem base relocation information is not included,
 # at least in release builds.  We need to ensure the reloc info is included