From: Dr. Stephen Henson Date: Thu, 6 May 2010 13:10:36 +0000 (+0000) Subject: Use /MD in FIPS mode for WIN64 too. X-Git-Tag: OpenSSL_0_9_8o~15 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=b0b4adc3af1d7d07634647526c879fc1908273f2;p=oweals%2Fopenssl.git Use /MD in FIPS mode for WIN64 too. --- 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';