diff options
Diffstat (limited to 'bin')
-rwxr-xr-x | bin/9c | 3 | ||||
-rwxr-xr-x | bin/9l | 2 |
2 files changed, 2 insertions, 3 deletions
@@ -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 "$@" @@ -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" ;; *) |