mirror of
https://github.com/9fans/plan9port.git
synced 2025-01-24 11:41:58 +00:00
Include Solaris version.
This commit is contained in:
parent
6b2d0fd946
commit
0f192bb8f2
1 changed files with 13 additions and 2 deletions
15
bin/9c
15
bin/9c
|
@ -24,8 +24,19 @@ case "$tag" in
|
||||||
*HP-UX*) cc=cc; cflags="-g -O -c -Ae" ;;
|
*HP-UX*) cc=cc; cflags="-g -O -c -Ae" ;;
|
||||||
*Linux*) usegcc ;;
|
*Linux*) usegcc ;;
|
||||||
*OSF1*) cc=cc; cflags="-g -O -c" ;;
|
*OSF1*) cc=cc; cflags="-g -O -c" ;;
|
||||||
*SunOS*-cc) cc=cc; cflags="-g -O -c -xCC -D__sun__" ;;
|
*SunOS*-cc) cc=cc;
|
||||||
*SunOS*-gcc) usegcc ;;
|
cflags="-g -O -c -xCC -D__sun__"
|
||||||
|
u=`uname`
|
||||||
|
v=`uname -v`
|
||||||
|
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"
|
||||||
|
;;
|
||||||
*)
|
*)
|
||||||
echo 9c does not know how to compile on "$tag" 1>&2
|
echo 9c does not know how to compile on "$tag" 1>&2
|
||||||
exit 1
|
exit 1
|
||||||
|
|
Loading…
Reference in a new issue