diff options
author | Ondřej Surý <ondrej@sury.org> | 2011-06-30 15:34:22 +0200 |
---|---|---|
committer | Ondřej Surý <ondrej@sury.org> | 2011-06-30 15:34:22 +0200 |
commit | d39f5aa373a4422f7a5f3ee764fb0f6b0b719d61 (patch) | |
tree | 1833f8b72a4b3a8f00d0d143b079a8fcad01c6ae /src/quietgcc.bash | |
parent | 8652e6c371b8905498d3d314491d36c58d5f68d5 (diff) | |
download | golang-upstream/58.tar.gz |
Imported Upstream version 58upstream/58
Diffstat (limited to 'src/quietgcc.bash')
-rwxr-xr-x | src/quietgcc.bash | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/quietgcc.bash b/src/quietgcc.bash index e29ee4f64..c99305eda 100755 --- a/src/quietgcc.bash +++ b/src/quietgcc.bash @@ -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 \ |