we need /MD for fips builds

This commit is contained in:
Dr. Stephen Henson 2014-02-24 18:21:16 +00:00
parent 6a6e08960e
commit ab03ead035

View File

@ -45,7 +45,7 @@ if ($FLAVOR =~ /WIN64/)
# considered safe to ignore. # considered safe to ignore.
# #
$base_cflags= " $mf_cflag"; $base_cflags= " $mf_cflag";
my $f = $shlib?' /MD':' /MT'; my $f = $shlib || $fips ?' /MD':' /MT';
$opt_cflags=$f.' /Ox'; $opt_cflags=$f.' /Ox';
$dbg_cflags=$f.'d /Od -DDEBUG -D_DEBUG'; $dbg_cflags=$f.'d /Od -DDEBUG -D_DEBUG';
$lflags="/nologo /subsystem:console /opt:ref"; $lflags="/nologo /subsystem:console /opt:ref";