do not process stdout, to play nice with ccache

This commit is contained in:
rsc 2005-07-22 12:37:20 +00:00
parent 67e944db9f
commit 593ac8b3a6

2
bin/9c
View file

@ -58,7 +58,7 @@ esac
# The uniq at the end is for gcc's strcmp/etc. built-in nonsense,
# which multiplies single errors as a result of its expansion.
xtmp=/tmp/9c.$$.$USER.out
$cc -DPLAN9PORT -I$PLAN9/include $cflags "$@" >$xtmp 2>&1
$cc -DPLAN9PORT -I$PLAN9/include $cflags "$@" 2>$xtmp
status=$?
grep -v '__p9l_autolib_' $xtmp |
egrep -v ': error: .Each undeclared identifier|: error: for each function it appears|: In function `|: At top level:' |