From 1ce2fb42ded2b6883f83f9a75430cc8d3ef60926 Mon Sep 17 00:00:00 2001 From: "Dr. Stephen Henson" Date: Mon, 30 Jan 2006 13:14:20 +0000 Subject: [PATCH] Backport of changes to support later versions of VC++. --- util/pl/VC-32-GMAKE.pl | 5 +++-- util/pl/VC-32.pl | 5 +++-- 2 files changed, 6 insertions(+), 4 deletions(-) diff --git a/util/pl/VC-32-GMAKE.pl b/util/pl/VC-32-GMAKE.pl index e6bed76747..9ceba1a998 100644 --- a/util/pl/VC-32-GMAKE.pl +++ b/util/pl/VC-32-GMAKE.pl @@ -27,8 +27,9 @@ $fips_canister_build = 1 if $fips; # C compiler stuff $cc='cl'; -$cflags=' -MD -W3 -WX -G5 -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=' -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=''; diff --git a/util/pl/VC-32.pl b/util/pl/VC-32.pl index 0f9778de75..52dc566b79 100644 --- a/util/pl/VC-32.pl +++ b/util/pl/VC-32.pl @@ -22,8 +22,9 @@ $zlib_lib="zlib1.lib"; # C compiler stuff $cc='cl'; -$cflags=' /MD /W3 /WX /G5 /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=' /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=''; -- 2.25.1