(LINK_FLAGS): Use it.
+2001-03-17 Andrew Innes <andrewi@gnu.org>\r
+\r
+ * cmdproxy.c (get_next_token): Fix indefinite loop bug scanning\r
+ escaped quotes.\r
+\r
+ * gmake.defs (DEBUG_LINK): New macro.\r
+ (LINK_FLAGS): Use it.\r
+\r
+ * nmake.defs (DEBUG_LINK): New macro.\r
+ (LINK_FLAGS): Use it.\r
+\r
2001-03-06 Andrew Innes <andrewi@gnu.org>\r
\r
* INSTALL: Add --ldflags to configure line for building with\r
ifdef NODEBUG
DEBUG_FLAG =
+DEBUG_LINK =
else
DEBUG_FLAG = -g
+DEBUG_LINK = -g
endif
ifdef NOCYGWIN
ERROR Unknown architecture type "$(ARCH)".
endif
-LINK_FLAGS = $(ARCH_LDFLAGS) $(NOCYGWIN) $(USER_LDFLAGS)
+LINK_FLAGS = $(ARCH_LDFLAGS) $(DEBUG_LINK) $(NOCYGWIN) $(USER_LDFLAGS)
.DEFAULT:
!ifdef NODEBUG
DEBUG_FLAG =
+DEBUG_LINK =
!else
DEBUG_FLAG = -Zi
+DEBUG_LINK = -debug:full -debugtype:both
!endif
!if "$(ARCH)" == "i386"
!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