aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRuss Cox <rsc@golang.org>2011-12-14 10:24:17 -0500
committerRuss Cox <rsc@golang.org>2011-12-14 10:24:17 -0500
commit576311d72b53c6cec3f11d2fcc0dfd0d0eb76b7d (patch)
treeaf57e70191dd87814f1d79d6d2890f811d3f868c
parent1f6d130b14054f57a530dce20b19a79a55c4fc0d (diff)
downloadgo-576311d72b53c6cec3f11d2fcc0dfd0d0eb76b7d.tar.gz
go-576311d72b53c6cec3f11d2fcc0dfd0d0eb76b7d.zip
go/build: make compatible with go/build
The irony! R=golang-dev, r CC=golang-dev https://golang.org/cl/5482062
-rw-r--r--src/pkg/go/build/Makefile2
-rw-r--r--src/pkg/go/build/syslist.go5
2 files changed, 6 insertions, 1 deletions
diff --git a/src/pkg/go/build/Makefile b/src/pkg/go/build/Makefile
index 349e00e801..1a18e00b88 100644
--- a/src/pkg/go/build/Makefile
+++ b/src/pkg/go/build/Makefile
@@ -11,7 +11,7 @@ GOFILES=\
path.go\
syslist.go\
-CLEANFILES+=syslist.go pkgtest/_obj cmdtest/_obj cgotest/_obj
+CLEANFILES+=pkgtest/_obj cmdtest/_obj cgotest/_obj
include ../../../Make.pkg
diff --git a/src/pkg/go/build/syslist.go b/src/pkg/go/build/syslist.go
new file mode 100644
index 0000000000..0ee9821322
--- /dev/null
+++ b/src/pkg/go/build/syslist.go
@@ -0,0 +1,5 @@
+// Generated automatically by make.
+package build
+
+const goosList = "darwin freebsd linux netbsd openbsd plan9 windows "
+const goarchList = "386 amd64 arm "