aboutsummaryrefslogtreecommitdiff
path: root/src/cmd/make.bash
diff options
context:
space:
mode:
authorRuss Cox <rsc@golang.org>2010-08-25 17:54:10 -0400
committerRuss Cox <rsc@golang.org>2010-08-25 17:54:10 -0400
commit15f336b675c358e799abb2053c50caf852ebbe2b (patch)
tree7c82269c3d27da4fc0d307e45b11f24fe70064e5 /src/cmd/make.bash
parent5008927c5c1ad78808697967d1ee834ae653b76c (diff)
downloadgo-15f336b675c358e799abb2053c50caf852ebbe2b.tar.xz
build: let pkg/Makefile coordinate building of Go commands
Commands written in Go depend on Go packages, so they cannot be built by src/cmd/make.bash. They have been built by src/make.bash after all the packages are done, but we want to be able to use cgo (written in Go) during the build of package net. To make this possible, build the commands from src/pkg/Makefile instead of src/make.bash, so that they are included in the package dependency analysis. R=r CC=golang-dev https://golang.org/cl/1972046
Diffstat (limited to 'src/cmd/make.bash')
-rwxr-xr-xsrc/cmd/make.bash2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cmd/make.bash b/src/cmd/make.bash
index 18ca845edd..63da74625c 100755
--- a/src/cmd/make.bash
+++ b/src/cmd/make.bash
@@ -19,7 +19,7 @@ gomake enam.o
cd ..
# Note: commands written in Go are not listed here.
-# They are in ../make.bash so that they can be built
+# They are in ../pkg/Makefile so that they can be built
# after the Go libraries on which they depend.
for i in cc ${O}l ${O}a ${O}c gc ${O}g cov godefs gopack gotest nm prof
do