summaryrefslogtreecommitdiff
path: root/libgo/Makefile.in
diff options
context:
space:
mode:
authorian <ian@138bc75d-0d04-0410-961f-82ee72b054a4>2013-11-14 18:07:31 +0000
committerian <ian@138bc75d-0d04-0410-961f-82ee72b054a4>2013-11-14 18:07:31 +0000
commit08bf2baac2e7bea754da1192bd1fe30e38671bbc (patch)
tree6a46d207d0152696c1c689e35d836d0e87223e05 /libgo/Makefile.in
parent85309e9def188cf12b40c9ff20223652b3cc656a (diff)
downloadgcc-08bf2baac2e7bea754da1192bd1fe30e38671bbc.tar.gz
libgo/go/go/build: use syslist.go from the gc stdlib.
If cmd/go is rebuilt using -compiler gccgo the version of go/build that is linked into that cmd/go will not function properly as the list of file suffixes know as operating systems or architectures is incorrect. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@204794 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libgo/Makefile.in')
-rw-r--r--libgo/Makefile.in11
1 files changed, 1 insertions, 10 deletions
diff --git a/libgo/Makefile.in b/libgo/Makefile.in
index 6434bcf518e..20caecabfec 100644
--- a/libgo/Makefile.in
+++ b/libgo/Makefile.in
@@ -1477,7 +1477,7 @@ go_go_build_files = \
go/go/build/build.go \
go/go/build/doc.go \
go/go/build/read.go \
- syslist.go
+ go/go/build/syslist.go
go_go_doc_files = \
go/go/doc/comment.go \
@@ -5144,15 +5144,6 @@ go/build/check: $(CHECK_DEPS)
@$(CHECK)
.PHONY: go/build/check
-syslist.go: s-syslist; @true
-s-syslist: Makefile
- echo '// Generated automatically by make.' >syslist.go.tmp
- echo 'package build' >>syslist.go.tmp
- echo 'const goosList = "$(GOOS)"' >>syslist.go.tmp
- echo 'const goarchList = "$(GOARCH)"' >>syslist.go.tmp
- $(SHELL) $(srcdir)/../move-if-change syslist.go.tmp syslist.go
- $(STAMP) $@
-
@go_include@ go/doc.lo.dep
go/doc.lo.dep: $(go_go_doc_files)
$(BUILDDEPS)