1
0
mirror of https://github.com/golang/go synced 2024-11-21 14:44:40 -07:00

libcgo: don't build for NaCl

R=nigeltao
CC=golang-dev
https://golang.org/cl/2290041
This commit is contained in:
Russ Cox 2010-09-28 21:53:06 -04:00
parent 5b7e50a0aa
commit 2278ef7e1a

View File

@ -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