aboutsummaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
authorrsc <devnull@localhost>2003-11-25 02:11:11 +0000
committerrsc <devnull@localhost>2003-11-25 02:11:11 +0000
commit64bcfff3a12695f4e3f54b0590e896611da71c3b (patch)
tree4069bf27ba50ec5fa81e1ca201fc38cf3cb496be /bin
parentf7012583e9a7594cbb5ebe8e974bb69061189262 (diff)
downloadplan9port-64bcfff3a12695f4e3f54b0590e896611da71c3b.tar.gz
plan9port-64bcfff3a12695f4e3f54b0590e896611da71c3b.tar.bz2
plan9port-64bcfff3a12695f4e3f54b0590e896611da71c3b.zip
More tweaks on Linux and Solaris.
Diffstat (limited to 'bin')
-rwxr-xr-xbin/9c3
-rwxr-xr-xbin/9l2
2 files changed, 2 insertions, 3 deletions
diff --git a/bin/9c b/bin/9c
index 9104a08c..8a7148e8 100755
--- a/bin/9c
+++ b/bin/9c
@@ -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 "$@"
diff --git a/bin/9l b/bin/9l
index adc66038..19be47ed 100755
--- a/bin/9l
+++ b/bin/9l
@@ -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"
;;
*)