diff options
author | rsc <devnull@localhost> | 2004-04-24 04:52:49 +0000 |
---|---|---|
committer | rsc <devnull@localhost> | 2004-04-24 04:52:49 +0000 |
commit | 78802e6993a0f44d7ac7ff7d0922d55d1b089dac (patch) | |
tree | 2131829fda5ff9ee9f8ef8c88695c361cc4ba335 /bin/9c | |
parent | 272fd660b41d7ec793bc9d8972878510f3b66055 (diff) | |
download | plan9port-78802e6993a0f44d7ac7ff7d0922d55d1b089dac.tar.gz plan9port-78802e6993a0f44d7ac7ff7d0922d55d1b089dac.tar.bz2 plan9port-78802e6993a0f44d7ac7ff7d0922d55d1b089dac.zip |
various bug fixes
Diffstat (limited to 'bin/9c')
-rwxr-xr-x | bin/9c | 12 |
1 files changed, 11 insertions, 1 deletions
@@ -35,6 +35,7 @@ case "$tag" in u=`uname` v=`uname -r` s=`echo $u$v | tr '. ' '__'` + cflags="$ngflags -g" cflags="$cflags -D__$s__" ;; *) @@ -42,4 +43,13 @@ case "$tag" in exit 1 esac -exec $cc -I$PLAN9/include $cflags "$@" +case "$tag" in +*SunOS*-cc) + exec $cc -I$PLAN9/include $cflags "$@" | + /bin/sed 's/\"\([^\"][^\"]*\)\", line \([0-9][0-9]*\)/\1:\2/g' + ;; +*) + exec $cc -I$PLAN9/include $cflags "$@" + ;; +esac + |