Fix version for sunos.

This commit is contained in:
rsc 2004-03-26 05:05:33 +00:00
parent 0f192bb8f2
commit 1b431b180d

12
bin/9c
View file

@ -27,15 +27,15 @@ case "$tag" in
*SunOS*-cc) cc=cc;
cflags="-g -O -c -xCC -D__sun__"
u=`uname`
v=`uname -v`
s=`echo $u$v | tr '. ' '__'
cflags="$cflags -D$s"
v=`uname -r`
s=`echo $u$v | tr '. ' '__'`
cflags="$cflags -D__$s__"
;;
*SunOS*-gcc) usegcc
u=`uname`
v=`uname -v`
s=`echo $u$v | tr '. ' '__'
cflags="$cflags -D$s"
v=`uname -r`
s=`echo $u$v | tr '. ' '__'`
cflags="$cflags -D__$s__"
;;
*)
echo 9c does not know how to compile on "$tag" 1>&2