aboutsummaryrefslogtreecommitdiff
path: root/bin/9c
diff options
context:
space:
mode:
Diffstat (limited to 'bin/9c')
-rwxr-xr-xbin/9c12
1 files changed, 6 insertions, 6 deletions
diff --git a/bin/9c b/bin/9c
index bef94539..bc387b25 100755
--- a/bin/9c
+++ b/bin/9c
@@ -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