diff options
author | Andrew Innes <andrewi@gnu.org> | 2001-03-18 16:56:08 +0000 |
---|---|---|
committer | Andrew Innes <andrewi@gnu.org> | 2001-03-18 16:56:08 +0000 |
commit | 0f6465a643d70ff5a581cecb27dd92970776a243 (patch) | |
tree | 650bbe900cc2aeefc40c8c3165a022956cf7fd05 /nt/nmake.defs | |
parent | 2afff93ade8207c8742da0fb156a37cbb58f0b82 (diff) | |
download | emacs-0f6465a643d70ff5a581cecb27dd92970776a243.tar.gz |
(DEBUG_LINK): New macro.
(LINK_FLAGS): Use it.
Diffstat (limited to 'nt/nmake.defs')
-rw-r--r-- | nt/nmake.defs | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/nt/nmake.defs b/nt/nmake.defs index fb6dfdae282..1f6db21eaa0 100644 --- a/nt/nmake.defs +++ b/nt/nmake.defs @@ -161,8 +161,10 @@ DEL_TREE = rm -r !ifdef NODEBUG DEBUG_FLAG = +DEBUG_LINK = !else DEBUG_FLAG = -Zi +DEBUG_LINK = -debug:full -debugtype:both !endif !if "$(ARCH)" == "i386" @@ -200,7 +202,7 @@ ARCH_LDFLAGS = $(SYS_LDFLAGS) !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 |