mirror of
https://github.com/golang/go
synced 2024-11-21 20:44:39 -07:00
libcgo: don't build for NaCl
R=nigeltao CC=golang-dev https://golang.org/cl/2290041
This commit is contained in:
parent
5b7e50a0aa
commit
2278ef7e1a
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user