summaryrefslogtreecommitdiffstats
path: root/util
diff options
context:
space:
mode:
authorDr. Stephen Henson <steve@openssl.org>2010-05-06 13:10:36 +0000
committerDr. Stephen Henson <steve@openssl.org>2010-05-06 13:10:36 +0000
commitb0b4adc3af1d7d07634647526c879fc1908273f2 (patch)
tree5bca9f9b072ce460552c4f31de6729841a18305d /util
parent6e19895972a153c44fa2b2a708eb442ff2df9a0a (diff)
Use /MD in FIPS mode for WIN64 too.
Diffstat (limited to 'util')
-rw-r--r--util/pl/VC-32.pl2
1 files changed, 1 insertions, 1 deletions
diff --git a/util/pl/VC-32.pl b/util/pl/VC-32.pl
index ed4a3f92f5..53caaff7ce 100644
--- a/util/pl/VC-32.pl
+++ b/util/pl/VC-32.pl
@@ -49,7 +49,7 @@ if ($FLAVOR =~ /WIN64/)
$base_cflags=' /W3 /Gs0 /GF /Gy /nologo -DWIN32_LEAN_AND_MEAN -DL_ENDIAN -DDSO_WIN32 -DOPENSSL_SYSNAME_WIN32 -DOPENSSL_SYSNAME_WINNT -DUNICODE -D_UNICODE';
$base_cflags.=' -D_CRT_SECURE_NO_DEPRECATE'; # shut up VC8
$base_cflags.=' -D_CRT_NONSTDC_NO_DEPRECATE'; # shut up VC8
- my $f = $shlib?' /MD':' /MT';
+ my $f = $shlib || $fips ?' /MD':' /MT';
$lib_cflag='/Zl' if (!$shlib); # remove /DEFAULTLIBs from static lib
$opt_cflags=$f.' /Ox';
$dbg_cflags=$f.'d /Od -DDEBUG -D_DEBUG';