1
0
mirror of https://github.com/golang/go synced 2024-11-22 01:34:41 -07:00

quietgcc: fix typo, respect $TMPDIR

R=golang-dev, bradfitz
CC=golang-dev
https://golang.org/cl/4529087
This commit is contained in:
Russ Cox 2011-05-25 13:20:50 -04:00
parent b0f39cc27c
commit 5190907299

View File

@ -4,7 +4,7 @@
# license that can be found in the LICENSE file.
# The master for this file is $GOROOT/src/quietgcc.bash
# Changes made to $GOBIN/quietgcc will be overridden.
# Changes made to $GOBIN/quietgcc will be overwritten.
# Gcc output that we don't care to see.
ignore=': error: .Each undeclared identifier'
@ -32,7 +32,7 @@ case "$(uname -m -p)-$GOHOSTARCH" in
esac
# Run gcc, save error status, redisplay output without noise, exit with gcc status.
tmp=/tmp/qcc.$$.$USER.out
tmp=${TMPDIR:-/tmp}/quietgcc.$$.$USER.out
$gcc -Wall -Wno-sign-compare -Wno-missing-braces \
-Wno-parentheses -Wno-unknown-pragmas -Wno-switch -Wno-comment \
-Werror \