aboutsummaryrefslogtreecommitdiff
path: root/bin/9c
diff options
context:
space:
mode:
authorrsc <devnull@localhost>2003-11-23 19:49:17 +0000
committerrsc <devnull@localhost>2003-11-23 19:49:17 +0000
commit1c253ceb586c4519f42ce115954c4efab787f81a (patch)
tree22281aafc4c33f4ab310a845aec510f013511833 /bin/9c
parent50e628cb8f4594b7cbccc17ff3f701ff260a69c0 (diff)
downloadplan9port-1c253ceb586c4519f42ce115954c4efab787f81a.tar.gz
plan9port-1c253ceb586c4519f42ce115954c4efab787f81a.tar.bz2
plan9port-1c253ceb586c4519f42ce115954c4efab787f81a.zip
Annoying changes to work on Sun boxes.
Diffstat (limited to 'bin/9c')
-rwxr-xr-xbin/9c5
1 files changed, 2 insertions, 3 deletions
diff --git a/bin/9c b/bin/9c
index dc9cc3d8..9104a08c 100755
--- a/bin/9c
+++ b/bin/9c
@@ -15,8 +15,7 @@ usegcc()
"
}
-cc=none
-tag="`uname`-`uname -m`-${CC:-cc}"
+tag="`uname`-`uname -m`-${CC9:-cc}"
case "$tag" in
*BSD*) usegcc ;;
*Darwin*) usegcc ;;
@@ -30,4 +29,4 @@ case "$tag" in
exit 1
esac
-exec cc $cflags "$@"
+exec $cc $cflags "$@"