aboutsummaryrefslogtreecommitdiff
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
commit0509727b0d8c4175f3d8957b2066916e889da383 (patch)
tree33196d5cb0a922c14e93b7a0aad534ac546e7118 /src/make.bash
parentba9cb9dcf748081c10c5c13e01bab3fb1c4bc93a (diff)
downloadgo-0509727b0d8c4175f3d8957b2066916e889da383.tar.xz
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 https://golang.org/cl/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 000020ecd9..70beb47c0b 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