aboutsummaryrefslogtreecommitdiff
path: root/libgo/go
diff options
context:
space:
mode:
authorIan Lance Taylor <ian@gcc.gnu.org>2013-11-14 18:07:31 +0000
committerIan Lance Taylor <ian@gcc.gnu.org>2013-11-14 18:07:31 +0000
commit9572918137e0b374c71c69c0c38b2adfacfbda1f (patch)
tree6a46d207d0152696c1c689e35d836d0e87223e05 /libgo/go
parent6eeef4cc6780c010266ded53101cf22fc1b3ba1d (diff)
downloadgcc-9572918137e0b374c71c69c0c38b2adfacfbda1f.zip
gcc-9572918137e0b374c71c69c0c38b2adfacfbda1f.tar.gz
gcc-9572918137e0b374c71c69c0c38b2adfacfbda1f.tar.bz2
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. From-SVN: r204794
Diffstat (limited to 'libgo/go')
-rw-r--r--libgo/go/go/build/syslist.go8
1 files changed, 8 insertions, 0 deletions
diff --git a/libgo/go/go/build/syslist.go b/libgo/go/go/build/syslist.go
new file mode 100644
index 0000000..f3ff5bb
--- /dev/null
+++ b/libgo/go/go/build/syslist.go
@@ -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 "