]> Cypherpunks repositories - gostls13.git/commitdiff
build; allow MAKEFLAGS to be set outside the build scripts
authorChristopher Wedgwood <cw@f00f.org>
Sat, 15 May 2010 17:08:29 +0000 (10:08 -0700)
committerRob Pike <r@golang.org>
Sat, 15 May 2010 17:08:29 +0000 (10:08 -0700)
R=rsc, r
CC=golang-dev
https://golang.org/cl/1231041

src/make.bash

index d8638145eab10c78b3576d216c57f234a6806e5e..b718bb9562fc1d6edf98e5fb7cf4e7cc264c5dad 100755 (executable)
@@ -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