1
0
mirror of https://github.com/golang/go synced 2024-11-22 02:04: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 # Use of this source code is governed by a BSD-style
# license that can be found in the LICENSE file. # license that can be found in the LICENSE file.
ifeq ($(GOOS),nacl)
# Nothing for NaCl
all clean install:
@true
else
include ../Make.inc include ../Make.inc
all: libcgo.so all: libcgo.so
@ -37,3 +44,4 @@ $(QUOTED_GOROOT)/pkg/$(GOOS)_$(GOARCH)/libcgo.so: libcgo.so
clean: clean:
rm -f *.o *.so rm -f *.o *.so
endif