summaryrefslogtreecommitdiff
path: root/nt/gmake.defs
diff options
context:
space:
mode:
authorAndrew Innes <andrewi@gnu.org>2001-03-18 16:55:28 +0000
committerAndrew Innes <andrewi@gnu.org>2001-03-18 16:55:28 +0000
commit0d5b1573a26a4301922b6bab195adfe281f53f44 (patch)
treed49d463e3b5c1236314f07a6e29500c2f8df428c /nt/gmake.defs
parent4f10141d5505d557316ad311dcf24779053dacc7 (diff)
downloademacs-0d5b1573a26a4301922b6bab195adfe281f53f44.tar.gz
(DEBUG_LINK): New macro.
(LINK_FLAGS): Use it.
Diffstat (limited to 'nt/gmake.defs')
-rw-r--r--nt/gmake.defs4
1 files changed, 3 insertions, 1 deletions
diff --git a/nt/gmake.defs b/nt/gmake.defs
index 48806a72263..32b4dc7e0f8 100644
--- a/nt/gmake.defs
+++ b/nt/gmake.defs
@@ -226,8 +226,10 @@ endif
ifdef NODEBUG
DEBUG_FLAG =
+DEBUG_LINK =
else
DEBUG_FLAG = -g
+DEBUG_LINK = -g
endif
ifdef NOCYGWIN
@@ -248,7 +250,7 @@ else
ERROR Unknown architecture type "$(ARCH)".
endif
-LINK_FLAGS = $(ARCH_LDFLAGS) $(NOCYGWIN) $(USER_LDFLAGS)
+LINK_FLAGS = $(ARCH_LDFLAGS) $(DEBUG_LINK) $(NOCYGWIN) $(USER_LDFLAGS)
.DEFAULT: