summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorChristopher Wedgwood <cw@f00f.org>2010-05-15 10:08:29 -0700
committerChristopher Wedgwood <cw@f00f.org>2010-05-15 10:08:29 -0700
commit50114d93151a1dc225de516f0590001b847fbdcb (patch)
tree5269129e6fe8d44e19877ef3f002be33ef1c1c1f /src
parent44df763fe02a4432c0e23097c6538b077452b915 (diff)
downloadgo-50114d93151a1dc225de516f0590001b847fbdcb.tar.gz
build; allow MAKEFLAGS to be set outside the build scripts
R=rsc, r CC=golang-dev http://codereview.appspot.com/1231041 Committer: Rob Pike <r@golang.org>
Diffstat (limited to 'src')
-rwxr-xr-xsrc/make.bash3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/make.bash b/src/make.bash
index d8638145e..b718bb956 100755
--- a/src/make.bash
+++ b/src/make.bash
@@ -6,7 +6,8 @@
set -e
. ./env.bash
-export MAKEFLAGS=-j4
+MAKEFLAGS=${MAKEFLAGS:-"-j4"}
+export MAKEFLAGS
unset CDPATH # in case user has it set
rm -f "$GOBIN"/quietgcc