summaryrefslogtreecommitdiffstats
path: root/util
diff options
context:
space:
mode:
authorAndy Polyakov <appro@openssl.org>2005-08-03 20:04:05 +0000
committerAndy Polyakov <appro@openssl.org>2005-08-03 20:04:05 +0000
commit2d54cc69c91acd43b60e5a40722a4902f7dac428 (patch)
treef5cee9423cbebe15f5afe52bea044984c38cad44 /util
parent2dd8278de8240f0c8139dc09a4c24f3c46e6bfd1 (diff)
WCE update, mostly typos [from HEAD].
Diffstat (limited to 'util')
-rw-r--r--util/pl/VC-32.pl11
1 files changed, 6 insertions, 5 deletions
diff --git a/util/pl/VC-32.pl b/util/pl/VC-32.pl
index 096f607c70..bc9003135f 100644
--- a/util/pl/VC-32.pl
+++ b/util/pl/VC-32.pl
@@ -48,15 +48,15 @@ elsif ($FLAVOR =~ /CE/)
$wcetgt = $ENV{'TARGETCPU'}; # just shorter name...
SWITCH: for($wcetgt) {
/^X86/ && do { $wcecdefs.=" -Dx86 -D_X86_";
- $wcelflag.=" /machine:X86"; last; }
+ $wcelflag.=" /machine:X86"; last; };
/^ARM/ && do { $wcecdefs.=" -DARM -D_ARM_";
- $wcelflag.=" /machine:$wcetgt"; last; }
+ $wcelflag.=" /machine:$wcetgt"; last; };
/^R4[0-9]{3}/ && do { $wcecdefs.=" -DMIPS -D_MIPS_ -DMIPS_R4000";
- $wcelflag.=" /machine:$wcetgt"; last; }
+ $wcelflag.=" /machine:MIPS"; last; };
/^SH[0-9]/ && do { $wcecdefs.=" -D$wcetgt -D_$wcetgt_ -DSHx";
- $wcelflag.=" /machine:$wcetgt"; last; }
+ $wcelflag.=" /machine:$wcetgt"; last; };
{ $wcecdefs.=" -D$wcetgt -D_$wcetgt_";
- $wcelflag.=" /machine:$wcetgt"; last; }
+ $wcelflag.=" /machine:$wcetgt"; last; };
}
$cc='$(CC)';
@@ -64,6 +64,7 @@ elsif ($FLAVOR =~ /CE/)
$base_cflags.=" $wcecdefs";
$base_cflags.=" -Qsh4" if ($wcetgt =~ /^SH4/);
$opt_cflags=' /MC /O1i'; # optimize for space, but with intrinsics...
+ $opt_cflags.=' /wd4959'; # disable "too large to optimize" warning...
$dbg_clfags=' /MC /Od -DDEBUG -D_DEBUG';
$lflags="/nologo /opt:ref $wcelflag";
}