summaryrefslogtreecommitdiff
path: root/src/make.bash
diff options
context:
space:
mode:
authorRuss Cox <rsc@golang.org>2011-12-21 15:57:47 -0500
committerRuss Cox <rsc@golang.org>2011-12-21 15:57:47 -0500
commit011e2890620f0cd9295105c28cdadcec4080f510 (patch)
tree7000f705e9350319bc21c9b66de9288deaec8b70 /src/make.bash
parented390954d07e3f3597c90cd4648c8f9aa1e8ab15 (diff)
downloadgo-011e2890620f0cd9295105c28cdadcec4080f510.tar.gz
build: fixes for Windows
* work around a linker/cgo bug * do not run deps.bash on Windows unless we need it (cuts a full minute off the build time) * add windows to the list of cgo-enabled targets The gopack problem is issue 2601. R=golang-dev, r, bradfitz CC=golang-dev http://codereview.appspot.com/5504062
Diffstat (limited to 'src/make.bash')
-rwxr-xr-xsrc/make.bash1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/make.bash b/src/make.bash
index 000020ecd..70beb47c0 100755
--- a/src/make.bash
+++ b/src/make.bash
@@ -71,6 +71,7 @@ do
fi
done
+$USE_GO_TOOL ||
(
cd "$GOROOT"/src/pkg;
bash deps.bash # do this here so clean.bash will work in the pkg directory