Improve WINCE support.

Submitted by: Pierre Delaage
This commit is contained in:
Andy Polyakov
2013-01-19 21:23:13 +01:00
parent 0e5cf7bc09
commit a006fef78e
9 changed files with 32 additions and 11 deletions

View File

@@ -126,7 +126,7 @@ elsif ($FLAVOR =~ /CE/)
$base_cflags.=" $wcecdefs";
$base_cflags.=' -I$(WCECOMPAT)/include' if (defined($ENV{'WCECOMPAT'}));
$base_cflags.=' -I$(PORTSDK_LIBPATH)/../../include' if (defined($ENV{'PORTSDK_LIBPATH'}));
if ($cc =~ /\bcl(\.exe)*$/) {
if (`$cc 2>&1` =~ /Version ([0-9]+)\./ && $1>=14) {
$base_cflags.=($shlib and !$fipscanisterbuild)?' /MD':' /MT';
} else {
$base_cflags.=' /MC';