From cffdb1e83025106c5ca66b6506951ba3f37382d3 Mon Sep 17 00:00:00 2001 From: Christopher Wedgwood Date: Sat, 15 May 2010 10:08:29 -0700 Subject: [PATCH] build; allow MAKEFLAGS to be set outside the build scripts R=rsc, r CC=golang-dev https://golang.org/cl/1231041 --- src/make.bash | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/make.bash b/src/make.bash index d8638145ea..b718bb9562 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