Add VC8 shut up flags after debugging options have been set.
authorDr. Stephen Henson <steve@openssl.org>
Mon, 18 Jun 2007 12:57:45 +0000 (12:57 +0000)
committerDr. Stephen Henson <steve@openssl.org>
Mon, 18 Jun 2007 12:57:45 +0000 (12:57 +0000)
util/pl/VC-32.pl

index 0b99f7204635c13e2ae3e729acf7ed01c726d10b..0dffdd9683e162ae5041e3aeacec0ffc1f75865e 100644 (file)
@@ -25,8 +25,6 @@ $zlib_lib="zlib1.lib";
 # C compiler stuff
 $cc='cl';
 $cflags=' /MD /W3 /WX /Ox /O2 /Ob2 /Gs0 /GF /Gy /nologo -DOPENSSL_SYSNAME_WIN32 -DWIN32_LEAN_AND_MEAN -DL_ENDIAN -DDSO_WIN32';
-$cflags.=' -D_CRT_SECURE_NO_DEPRECATE';                # shut up VC8
-$cflags.=' -D_CRT_NONSTDC_NO_DEPRECATE';       # shut up VC8
 $lflags="/nologo /subsystem:console /machine:I386 /opt:ref";
 $mlflags='';
 
@@ -40,6 +38,8 @@ if ($debug)
        $lflags.=" /debug";
        $mlflags.=' /debug';
        }
+$cflags .= ' -D_CRT_SECURE_NO_DEPRECATE';      # shut up VC8
+$cflags .= ' -D_CRT_NONSTDC_NO_DEPRECATE';     # shut up VC8
 $cflags .= " -DOPENSSL_SYSNAME_WINNT" if $NT == 1;
 
 $obj='.obj';