Skip to content

Commit

Permalink
Support for WinEC7.
Browse files Browse the repository at this point in the history
  • Loading branch information
snhenson committed Apr 10, 2013
1 parent 2d183e4 commit 4f6c4c1
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions util/pl/VC-32.pl
Original file line number Diff line number Diff line change
Expand Up @@ -127,8 +127,14 @@
$base_cflags.=" $wcecdefs";
$base_cflags.=' -I$(WCECOMPAT)/include' if (defined($ENV{'WCECOMPAT'}));
$base_cflags.=' -I$(PORTSDK_LIBPATH)/../../include' if (defined($ENV{'PORTSDK_LIBPATH'}));
$opt_cflags=' /MC /O1i'; # optimize for space, but with intrinsics...
$dbg_clfags=' /MC /Od -DDEBUG -D_DEBUG';
if ($ENV{PLATFORM} =~ /wce7/i) {
$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";
}
else # Win32
Expand Down

0 comments on commit 4f6c4c1

Please sign in to comment.