diff options
author | Anthony Martin <ality@pbrane.org> | 2011-06-20 22:23:43 +1000 |
---|---|---|
committer | Anthony Martin <ality@pbrane.org> | 2011-06-20 22:23:43 +1000 |
commit | 23e69ed80c2165d48a86d59501eb4ea864d8127c (patch) | |
tree | f6d9759521137f8b0dfb2c5a31037f72ca290660 | |
parent | 301d4256b875087bca6923f21e38d8c0dafb8cbb (diff) | |
download | go-23e69ed80c2165d48a86d59501eb4ea864d8127c.tar.gz |
build: exclude packages that fail on Plan 9 (for now)
All but two packages depend on net:
debug/proc
os/signal
With this change, we can produce
a working build with GOOS=plan9.
R=golang-dev, r
CC=golang-dev
http://codereview.appspot.com/4639053
Committer: Rob Pike <r@golang.org>
-rw-r--r-- | src/pkg/Makefile | 30 | ||||
-rw-r--r-- | src/pkg/runtime/cgo/Makefile | 4 |
2 files changed, 34 insertions, 0 deletions
diff --git a/src/pkg/Makefile b/src/pkg/Makefile index b74366081..3da71a200 100644 --- a/src/pkg/Makefile +++ b/src/pkg/Makefile @@ -182,6 +182,36 @@ DIRS+=\ endif +ifeq ($(GOOS),plan9) +NOPLAN9BUILD=\ + crypto/tls\ + debug/proc\ + exp/gui/x11\ + expvar\ + http\ + http/cgi\ + http/fcgi\ + http/httptest\ + http/pprof\ + http/spdy\ + mail\ + mime/multipart\ + net\ + net/dict\ + net/textproto\ + netchan\ + os/signal\ + rpc\ + rpc/jsonrpc\ + smtp\ + syslog\ + websocket\ + ../cmd/godoc\ + ../cmd/goinstall\ + +DIRS:=$(filter-out $(NOPLAN9BUILD),$(DIRS)) +endif + NOTEST+=\ crypto\ crypto/openpgp/error\ diff --git a/src/pkg/runtime/cgo/Makefile b/src/pkg/runtime/cgo/Makefile index f26da2c51..7e752f127 100644 --- a/src/pkg/runtime/cgo/Makefile +++ b/src/pkg/runtime/cgo/Makefile @@ -10,6 +10,10 @@ ifeq ($(GOARCH),arm) ENABLED:=0 endif +ifeq ($(GOOS),plan9) +ENABLED:=0 +endif + ifeq ($(DISABLE_CGO),1) ENABLED:=0 endif |