More tweaks on Linux and Solaris.

This commit is contained in:
rsc 2003-11-25 02:11:11 +00:00
parent f7012583e9
commit 64bcfff3a1
14 changed files with 118 additions and 75 deletions

3
bin/9c
View file

@ -5,7 +5,6 @@ usegcc()
cc=gcc
cflags=" \
-O2 \
-I$PLAN9/include \
-c \
-ggdb \
-Wall \
@ -29,4 +28,4 @@ case "$tag" in
exit 1
esac
exec $cc $cflags "$@"
exec $cc -I$PLAN9/include $cflags "$@"

2
bin/9l
View file

@ -7,7 +7,7 @@ case "$tag" in
*BSD*) ld=gcc ;;
*Linux*) ld=gcc ;;
*Darwin*) ld=gcc ;;
*SunOS*) ld=${CC9:-cc}
*SunOS*) ld="${CC9:-cc} -g"
extralibs="$extralibs -lrt -lpthread -lsocket -lnsl"
;;
*)