aboutsummaryrefslogtreecommitdiff
path: root/gotools
diff options
context:
space:
mode:
authorIan Lance Taylor <iant@google.com>2015-03-24 19:50:31 +0000
committerIan Lance Taylor <ian@gcc.gnu.org>2015-03-24 19:50:31 +0000
commitab24432b9ab95cc0e12cb5ae298fffbda04b3202 (patch)
tree278377d41dceea14428baa5d9f4bef9167baf464 /gotools
parenta9f0423f312c2c117185f24dcfd3cba617bc6f8c (diff)
re PR go/65462 (Use of 'go get' with gccgo is not finding dependencies correctly)
PR go/65462 cmd: Fix dependencies for 'go get' with gccgo Problem described in GCC BZ 65462. Generate the list of the standard GO package names based on what was built into libgo in the libgo Makefile. Change the var name from reqPkgSrc to reqStdPkgSrc to clarify it only affects standard GO packages. Skip the attempted loading of a package only if it is a standard GO package and the flag is set indicating its source is not required to be available. This requires a corresponding change to gotools to build and link in the new file containing the list of standard GO package names that was generated by the libgo Makefile. gotools/: PR go/65462 * Makefile.am (go_cmd_go_files): Add $(libgodir)/zstdpkglist.go. * Makefile.in: Rebuild. From-SVN: r221643
Diffstat (limited to 'gotools')
-rw-r--r--gotools/ChangeLog6
-rw-r--r--gotools/Makefile.am3
-rw-r--r--gotools/Makefile.in5
3 files changed, 11 insertions, 3 deletions
diff --git a/gotools/ChangeLog b/gotools/ChangeLog
index fbe4d74d500..8eceb18e518 100644
--- a/gotools/ChangeLog
+++ b/gotools/ChangeLog
@@ -1,3 +1,9 @@
+2015-03-24 Ian Lance Taylor <iant@google.com>
+
+ PR go/65462
+ * Makefile.am (go_cmd_go_files): Add $(libgodir)/zstdpkglist.go.
+ * Makefile.in: Rebuild.
+
2015-03-12 Ian Lance Taylor <iant@google.com>
* Makefile.am (GOLINK): Add GOCFLAGS.
diff --git a/gotools/Makefile.am b/gotools/Makefile.am
index 9d3ca22346c..7fb0f75c297 100644
--- a/gotools/Makefile.am
+++ b/gotools/Makefile.am
@@ -67,7 +67,8 @@ go_cmd_go_files = \
$(cmdsrcdir)/go/tool.go \
$(cmdsrcdir)/go/vcs.go \
$(cmdsrcdir)/go/version.go \
- $(cmdsrcdir)/go/vet.go
+ $(cmdsrcdir)/go/vet.go \
+ $(libgodir)/zstdpkglist.go
go_cmd_gofmt_files = \
$(cmdsrcdir)/gofmt/doc.go \
diff --git a/gotools/Makefile.in b/gotools/Makefile.in
index c370157da47..d08a597a85c 100644
--- a/gotools/Makefile.in
+++ b/gotools/Makefile.in
@@ -257,7 +257,8 @@ go_cmd_go_files = \
$(cmdsrcdir)/go/tool.go \
$(cmdsrcdir)/go/vcs.go \
$(cmdsrcdir)/go/version.go \
- $(cmdsrcdir)/go/vet.go
+ $(cmdsrcdir)/go/vet.go \
+ $(libgodir)/zstdpkglist.go
go_cmd_gofmt_files = \
$(cmdsrcdir)/gofmt/doc.go \
@@ -518,8 +519,8 @@ distclean-generic:
maintainer-clean-generic:
@echo "This command is intended for maintainers to use"
@echo "it deletes files that may require special tools to rebuild."
-@NATIVE_FALSE@install-exec-local:
@NATIVE_FALSE@uninstall-local:
+@NATIVE_FALSE@install-exec-local:
clean: clean-am
clean-am: clean-binPROGRAMS clean-generic clean-noinstPROGRAMS \