summaryrefslogtreecommitdiff
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
commitc7c5bc78c19f6c48a5e502b74b57b51fabe7bfab (patch)
tree70e573f448674a48ecf3bfe758dab79a9b2344fd /src/make.bash
parent5fb652ab9f52b94d5c76cbebcbaefece96f318d3 (diff)
downloadgo-c7c5bc78c19f6c48a5e502b74b57b51fabe7bfab.tar.gz
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 http://codereview.appspot.com/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 c79395610..000020ecd 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