From 6818e27fc3adcf6f800d80db6caaca5e65292eb9 Mon Sep 17 00:00:00 2001 From: Jeffrey Altman Date: Tue, 6 Apr 2004 09:54:54 +0000 Subject: [PATCH] debug-changes-20040406 Add run time checks to the compiler flags when debug --- src/config/NTMakefile.i386_nt40 | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/src/config/NTMakefile.i386_nt40 b/src/config/NTMakefile.i386_nt40 index d9805b27f2..47d5a7ff4b 100644 --- a/src/config/NTMakefile.i386_nt40 +++ b/src/config/NTMakefile.i386_nt40 @@ -229,16 +229,20 @@ afscdefs =\ # /Os favor small (over fast) code; seems to avoid 64-bit bugs in VC compiler afscflags =\ - /Oy- \ + /Oy- \ /GF \ /Gd \ /Gy \ /GX \ /Os +!IF ("$(AFSVER_CL)"!="1200") +afscdefs = $(afscdefs) /G7 /GT /GS /GZ /RTCs /RTCu +!ENDIF + !IF ("$(AFSDEV_BUILDTYPE)" == "FREE") -#afscflags = $(afscflags) /Ox +afscflags = $(afscflags) /Ox cdebug = $(cdebug:-Od=) # avoid annoying override warning (D4025) cvarsdll = $(cvarsdll:-MDd=-MD) NODEBUG=1