changeset 538:0f561eea8d68

Neither are arm and c67. Since all I've tested is i386 (and after a quick check I know the others are broken), that's all the -pre release is going to build right now. I'll probably tackle arm next.
author Rob Landley <rob@landley.net>
date Mon, 10 Dec 2007 19:53:08 -0600
parents 21c7aed1d422
children d98d14707471
files make/make.sh
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/make/make.sh	Mon Dec 10 18:09:34 2007 -0600
+++ b/make/make.sh	Mon Dec 10 19:53:08 2007 -0600
@@ -16,7 +16,7 @@
   # Build tinycc with a specific architecture and search paths.
 
   $DEBUG $CC tcc.c -o $1-tinycc_unstripped $CFLAGS $LIBS \
-    -DTINYCC_TARGET_$1 \
+    -DTINYCC_TARGET_$(echo $1 | tr a-z A-Z) \
     -DTINYCC_TARGET='"'$1'"' \
     -DTINYCC_VERSION='"'$TINYCC_VERSION'"' \
     -DTINYCC_INSTALLDIR='"'$TINYCC_INSTALLDIR'"' \
@@ -49,7 +49,7 @@
 
 [ $# -ne 0 ] && TARGETS="$@"
 [ "$TARGETS" == "native" ] && TARGETS="$HOST"
-[ -z "$TARGETS" ] && TARGETS="i386 arm c67"  # win32
+[ -z "$TARGETS" ] && TARGETS="i386" # arm c67 win32
 
 # Build each architecture