summaryrefslogtreecommitdiffstats
path: root/util/pl
diff options
context:
space:
mode:
authorAndy Polyakov <appro@openssl.org>2014-02-25 13:41:40 +0100
committerAndy Polyakov <appro@openssl.org>2014-02-25 13:41:40 +0100
commitc3006e0f5aaac2c1b14f4eeb71e3d932c845dd66 (patch)
tree7f1594589ba4fa0cfd0731603a95d9a710cac5d7 /util/pl
parentefe835eb5aa5f0cf7804c211abea31a8febd1ae9 (diff)
util/pl/VC-32.pl: harmonize with 1.0.1 and fix typo.
Diffstat (limited to 'util/pl')
-rw-r--r--util/pl/VC-32.pl6
1 files changed, 3 insertions, 3 deletions
diff --git a/util/pl/VC-32.pl b/util/pl/VC-32.pl
index 1c3f158921..852eb30d0a 100644
--- a/util/pl/VC-32.pl
+++ b/util/pl/VC-32.pl
@@ -119,7 +119,7 @@ elsif ($FLAVOR =~ /CE/)
$base_cflags.=' -I$(WCECOMPAT)/include' if (defined($ENV{'WCECOMPAT'}));
$base_cflags.=' -I$(PORTSDK_LIBPATH)/../../include' if (defined($ENV{'PORTSDK_LIBPATH'}));
if (`$cc 2>&1` =~ /Version ([0-9]+)\./ && $1>=14) {
- $base_cflags.=($shlib and !$fipscanisterbuild)?' /MD':' /MT';
+ $base_cflags.=$shlib?' /MD':' /MT';
} else {
$base_cflags.=' /MC';
}
@@ -130,13 +130,13 @@ elsif ($FLAVOR =~ /CE/)
else # Win32
{
$base_cflags= " $mf_cflag";
- my $f = $shlib?' /MD':' /MT';
+ my $f = $shlib || $fips ?' /MD':' /MT';
$ff = "/fixed";
$opt_cflags=$f.' /Ox /O2 /Ob2';
$dbg_cflags=$f.'d /Od -DDEBUG -D_DEBUG';
$lflags="/nologo /subsystem:console /opt:ref";
}
-$lib_cflags='/Zl' if (!$shlib); # remove /DEFAULTLIBs from static lib
+$lib_cflag='/Zl' if (!$shlib); # remove /DEFAULTLIBs from static lib
$mlflags='';
$out_def ="out32"; $out_def.="dll" if ($shlib);