aboutsummaryrefslogtreecommitdiff
path: root/src/make.bash
diff options
context:
space:
mode:
authorRuss Cox <rsc@golang.org>2011-12-21 07:47:12 -0500
committerRuss Cox <rsc@golang.org>2011-12-21 07:47:12 -0500
commit8f5f347e2c32ad1045ca902faab3d0c0fd735ae9 (patch)
treeca79a213a503a79c0724842879ff5d53d74d90c3 /src/make.bash
parent836105679e1da85208e3a7a4e2f0a1f375d0a257 (diff)
downloadgo-8f5f347e2c32ad1045ca902faab3d0c0fd735ae9.tar.xz
cmd/go: many improvements
* correct dependency calculations * comment meaning of action fields * new alias "std" like "all" but standard packages only * add -o flag to 'go build' * set up for parallel build (still serial) * understand that import "C" depends on cgo, runtime/cgo R=golang-dev, mikioh.mikioh CC=golang-dev https://golang.org/cl/5502055
Diffstat (limited to 'src/make.bash')
-rwxr-xr-xsrc/make.bash4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/make.bash b/src/make.bash
index c793956103..000020ecd9 100755
--- a/src/make.bash
+++ b/src/make.bash
@@ -89,7 +89,7 @@ echo; echo; echo %%%% making runtime generated files %%%%; echo
(
cd "$GOROOT"/src/pkg/runtime
./autogen.sh
- gomake install # copy runtime.h to pkg directory
+ gomake install; gomake clean # copy runtime.h to pkg directory
) || exit 1
if $USE_GO_TOOL; then
@@ -98,7 +98,7 @@ if $USE_GO_TOOL; then
./buildscript_${GOOS}_$GOARCH.sh
echo '# Building Go code.'
- GOPATH="" go install -a all
+ go install -a std
else
echo; echo; echo %%%% making pkg %%%%; echo
gomake -C pkg install