From: Russ Cox Date: Wed, 29 Sep 2010 01:53:06 +0000 (-0400) Subject: libcgo: don't build for NaCl X-Git-Tag: weekly.2010-09-29~17 X-Git-Url: http://www.git.cypherpunks.su/?a=commitdiff_plain;h=2278ef7e1a757968f57e6803a1a811acfe52fc60;p=gostls13.git libcgo: don't build for NaCl R=nigeltao CC=golang-dev https://golang.org/cl/2290041 --- diff --git a/src/libcgo/Makefile b/src/libcgo/Makefile index 259799c92f..365de0f8d0 100755 --- a/src/libcgo/Makefile +++ b/src/libcgo/Makefile @@ -2,6 +2,13 @@ # Use of this source code is governed by a BSD-style # license that can be found in the LICENSE file. +ifeq ($(GOOS),nacl) + +# Nothing for NaCl +all clean install: + @true + +else include ../Make.inc all: libcgo.so @@ -37,3 +44,4 @@ $(QUOTED_GOROOT)/pkg/$(GOOS)_$(GOARCH)/libcgo.so: libcgo.so clean: rm -f *.o *.so +endif