diff options
author | rsc <devnull@localhost> | 2004-03-26 05:05:33 +0000 |
---|---|---|
committer | rsc <devnull@localhost> | 2004-03-26 05:05:33 +0000 |
commit | 1b431b180d1e2ad77b69fd7d69bb20de0bab3e40 (patch) | |
tree | 46cf1a0ffbc61673db2e8f1305447cd2da7668ca /bin/9c | |
parent | 0f192bb8f2fc7ea22355a3a5a60778dda338cf48 (diff) | |
download | plan9port-1b431b180d1e2ad77b69fd7d69bb20de0bab3e40.tar.gz plan9port-1b431b180d1e2ad77b69fd7d69bb20de0bab3e40.tar.bz2 plan9port-1b431b180d1e2ad77b69fd7d69bb20de0bab3e40.zip |
Fix version for sunos.
Diffstat (limited to 'bin/9c')
-rwxr-xr-x | bin/9c | 12 |
1 files changed, 6 insertions, 6 deletions
@@ -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 |