Mercurial > hg > qcc
comparison make/make.sh @ 539:d98d14707471 0.9.25-pre1
As long as there's only one target, make the "tinycc" symlink. (Need to
add the host detection logic before the release.)
author | Rob Landley <rob@landley.net> |
---|---|
date | Mon, 10 Dec 2007 19:54:16 -0600 |
parents | 0f561eea8d68 |
children | 11d95002dfe1 |
comparison
equal
deleted
inserted
replaced
538:0f561eea8d68 | 539:d98d14707471 |
---|---|
25 -DCC_HEADERPATH='"'$CC_HEADERPATH'"' && | 25 -DCC_HEADERPATH='"'$CC_HEADERPATH'"' && |
26 $DEBUG $STRIP $1-tinycc_unstripped -o $1-tinycc | 26 $DEBUG $STRIP $1-tinycc_unstripped -o $1-tinycc |
27 [ $? -ne 0 ] && exit 1 | 27 [ $? -ne 0 ] && exit 1 |
28 | 28 |
29 # If this would be a native compiler for this host, create "tinycc" symlink | 29 # If this would be a native compiler for this host, create "tinycc" symlink |
30 if [ "$1" == "$HOST" ] | 30 #if [ "$1" == "$HOST" ] |
31 then | 31 #then |
32 $DEBUG rm -f tinycc | 32 $DEBUG rm -f tinycc |
33 $DEBUG ln -s $1-tinycc tinycc | 33 $DEBUG ln -s $1-tinycc tinycc |
34 fi | 34 #fi |
35 | 35 |
36 # Build libtinycc1.a | 36 # Build libtinycc1.a |
37 | 37 |
38 if [ -f $1/alloca.S ] | 38 if [ -f $1/alloca.S ] |
39 then | 39 then |