X-Git-Url: https://git.librecmc.org/?a=blobdiff_plain;f=util%2Fpl%2FVC-32.pl;h=852eb30d0aba062b9886b3057be975c14197e47d;hb=e5f261df7369a8d1734045ed59e12b42142a9147;hp=1c3f158921ea37685448016b8ad0da956548d3d0;hpb=ab03ead03547e0d89e0c06f5f48d8f8c12f4d7e4;p=oweals%2Fopenssl.git 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);