diff mbox

libgo patch committed: Fix list of supported os's and arch's

Message ID mcrhabej1qx.fsf@iant-glaptop.roam.corp.google.com
State New
Headers show

Commit Message

Ian Lance Taylor Nov. 14, 2013, 6:07 p.m. UTC
This patch from Dave Cheney fixes the list of supported operating
systems and architectures in libgo.  syslist.go used to be a generated
file in the master Go library, but it was changed a while back to a
fixed list.  This patch makes the same change to libgo.  Bootstrapped
and ran Go testsuite on x86_64-unknown-linux-gnu.  Committed to
mainline.

Ian
diff mbox

Patch

diff -r f1d01dcd0442 libgo/Makefile.am
--- a/libgo/Makefile.am	Thu Nov 14 10:06:17 2013 -0800
+++ b/libgo/Makefile.am	Thu Nov 14 10:06:37 2013 -0800
@@ -1300,7 +1300,7 @@ 
 	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 \
 	go/go/doc/doc.go \
@@ -2777,15 +2777,6 @@ 
 	@$(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)
diff -r f1d01dcd0442 libgo/go/go/build/syslist.go
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/libgo/go/go/build/syslist.go	Thu Nov 14 10:06:37 2013 -0800
@@ -0,0 +1,8 @@ 
+// Copyright 2011 The Go Authors.  All rights reserved.
+// Use of this source code is governed by a BSD-style
+// license that can be found in the LICENSE file.
+
+package build
+
+const goosList = "darwin dragonfly freebsd linux netbsd openbsd plan9 windows solaris "
+const goarchList = "386 amd64 arm "