mirror of
https://github.com/9fans/plan9port.git
synced 2025-01-27 11:52:03 +00:00
Fix version for sunos.
This commit is contained in:
parent
0f192bb8f2
commit
1b431b180d
1 changed files with 6 additions and 6 deletions
12
bin/9c
12
bin/9c
|
@ -27,15 +27,15 @@ case "$tag" in
|
||||||
*SunOS*-cc) cc=cc;
|
*SunOS*-cc) cc=cc;
|
||||||
cflags="-g -O -c -xCC -D__sun__"
|
cflags="-g -O -c -xCC -D__sun__"
|
||||||
u=`uname`
|
u=`uname`
|
||||||
v=`uname -v`
|
v=`uname -r`
|
||||||
s=`echo $u$v | tr '. ' '__'
|
s=`echo $u$v | tr '. ' '__'`
|
||||||
cflags="$cflags -D$s"
|
cflags="$cflags -D__$s__"
|
||||||
;;
|
;;
|
||||||
*SunOS*-gcc) usegcc
|
*SunOS*-gcc) usegcc
|
||||||
u=`uname`
|
u=`uname`
|
||||||
v=`uname -v`
|
v=`uname -r`
|
||||||
s=`echo $u$v | tr '. ' '__'
|
s=`echo $u$v | tr '. ' '__'`
|
||||||
cflags="$cflags -D$s"
|
cflags="$cflags -D__$s__"
|
||||||
;;
|
;;
|
||||||
*)
|
*)
|
||||||
echo 9c does not know how to compile on "$tag" 1>&2
|
echo 9c does not know how to compile on "$tag" 1>&2
|
||||||
|
|
Loading…
Reference in a new issue