summaryrefslogtreecommitdiffstats
path: root/util
diff options
context:
space:
mode:
authorAndy Polyakov <appro@openssl.org>2005-08-03 19:56:36 +0000
committerAndy Polyakov <appro@openssl.org>2005-08-03 19:56:36 +0000
commit19bd66fe747e9768a684e26f24bae4445353ee6c (patch)
tree915972b04847f81885f16009df7dac34728b4f9c /util
parent45771abbd60007dc8c192b1e54b7e4dcdbcd60b9 (diff)
WCE update, mostly typos.
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";
}