Support for WinEC7.
This commit is contained in:
parent
2d183e4c44
commit
4f6c4c1896
1 changed files with 8 additions and 2 deletions
|
@ -127,8 +127,14 @@ elsif ($FLAVOR =~ /CE/)
|
||||||
$base_cflags.=" $wcecdefs";
|
$base_cflags.=" $wcecdefs";
|
||||||
$base_cflags.=' -I$(WCECOMPAT)/include' if (defined($ENV{'WCECOMPAT'}));
|
$base_cflags.=' -I$(WCECOMPAT)/include' if (defined($ENV{'WCECOMPAT'}));
|
||||||
$base_cflags.=' -I$(PORTSDK_LIBPATH)/../../include' if (defined($ENV{'PORTSDK_LIBPATH'}));
|
$base_cflags.=' -I$(PORTSDK_LIBPATH)/../../include' if (defined($ENV{'PORTSDK_LIBPATH'}));
|
||||||
$opt_cflags=' /MC /O1i'; # optimize for space, but with intrinsics...
|
if ($ENV{PLATFORM} =~ /wce7/i) {
|
||||||
$dbg_clfags=' /MC /Od -DDEBUG -D_DEBUG';
|
$opt_cflags=' /MT /O1i'; # optimize for space, but with intrinsics...
|
||||||
|
$dbg_cflags=' /MT /Od -DDEBUG -D_DEBUG';
|
||||||
|
} else {
|
||||||
|
$opt_cflags=' /MC /O1i'; # optimize for space, but with intrinsics...
|
||||||
|
$dbg_cflags=' /MC /Od -DDEBUG -D_DEBUG';
|
||||||
|
}
|
||||||
|
|
||||||
$lflags="/nologo /opt:ref $wcelflag";
|
$lflags="/nologo /opt:ref $wcelflag";
|
||||||
}
|
}
|
||||||
else # Win32
|
else # Win32
|
||||||
|
|
Loading…
Reference in a new issue