Commit 4f6c4c18 authored by Dr. Stephen Henson's avatar Dr. Stephen Henson
Browse files

Support for WinEC7.

parent 2d183e4c
Loading
Loading
Loading
Loading
+8 −2
Original line number Diff line number Diff line
@@ -127,8 +127,14 @@ 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 ($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_clfags=' /MC /Od -DDEBUG -D_DEBUG';
      $dbg_cflags=' /MC /Od -DDEBUG -D_DEBUG';
    }

    $lflags="/nologo /opt:ref $wcelflag";
    }
else	# Win32