diff options
author | Anthony Martin <ality@pbrane.org> | 2011-06-20 22:23:43 +1000 |
---|---|---|
committer | Rob Pike <r@golang.org> | 2011-06-20 22:23:43 +1000 |
commit | f7d754fcce193a1ef8629361095b86c75a6313af (patch) | |
tree | 12d0459ea5f999dab8797cbe5619b0963fdfa2c6 | |
parent | f22e5cfc6d58fec0f130957af6a0e30b75565d24 (diff) | |
download | go-f7d754fcce193a1ef8629361095b86c75a6313af.tar.gz go-f7d754fcce193a1ef8629361095b86c75a6313af.zip |
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
https://golang.org/cl/4639053
-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 b743660813..3da71a200f 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 f26da2c518..7e752f127f 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 |