Add VC8 shut up flags after debugging options have been set.

This commit is contained in:
Dr. Stephen Henson
2007-06-18 12:57:45 +00:00
parent a92d3fac59
commit ede6310c4c

View 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';