summaryrefslogtreecommitdiff
path: root/gotools/Makefile.in
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/Makefile.in
parenta9f0423f312c2c117185f24dcfd3cba617bc6f8c (diff)
downloadgcc-ab24432b9ab95cc0e12cb5ae298fffbda04b3202.tar.gz
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/Makefile.in')
-rw-r--r--gotools/Makefile.in5
1 files changed, 3 insertions, 2 deletions
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 \