* NT_MAKEFILE [!NODEBUG] (CFLAGS_DEBUG): Define variable (set to
-D GC_ASSERTIONS).
* NT_MAKEFILE (CFLAGS_SPECIFIC): Add $(CFLAGS_DEBUG).
CVTRES_CPU=X64
!ENDIF
+!IFNDEF NODEBUG
+CFLAGS_DEBUG=-DGC_ASSERTIONS
+!ENDIF
+
!IFNDEF NOTHREADS
CFLAGS_MT=$(cvarsmt) -DGC_THREADS -DTHREAD_LOCAL_ALLOC -DPARALLEL_MARK
!ENDIF
LINK_GC=$(link) $(ldebug) $(LINK_DLL_FLAGS)
!ENDIF
-CFLAGS_SPECIFIC=$(CFLAGS_GCDLL) $(CFLAGS_MT)
+CFLAGS_SPECIFIC=$(CFLAGS_DEBUG) $(CFLAGS_GCDLL) $(CFLAGS_MT)
# Make sure that .cc is not viewed as a suffix. It is for VC++2005, but
# not earlier versions. We can deal with either, but not inconsistency.