summaryrefslogtreecommitdiff
path: root/src/liblink
diff options
context:
space:
mode:
authorDavid Crawshaw <david.crawshaw@zentus.com>2014-07-01 17:21:50 -0400
committerDavid Crawshaw <david.crawshaw@zentus.com>2014-07-01 17:21:50 -0400
commit94d7afd4f44377cfae7228912838d872a0320f80 (patch)
tree3294583c73329a1ce13bd6f9a3ecfd2a21623bd8 /src/liblink
parent5eaf85b5c544abce362326270a8af5d4f6245b55 (diff)
downloadgo-94d7afd4f44377cfae7228912838d872a0320f80.tar.gz
all: add GOOS=android
As android and linux have significant overlap, and because build tags are a poor way to represent an OS target, this CL introduces an exception into go/build: linux is treated as a synonym for android when matching files. http://golang.org/s/go14android https://groups.google.com/forum/#!topic/golang-dev/P1ATVp1mun0 LGTM=rsc, minux R=golang-codereviews, mikioh.mikioh, dave, aram, minux, gobot, rsc, aram.h, elias.naur, iant CC=golang-codereviews, rsc https://codereview.appspot.com/105270043
Diffstat (limited to 'src/liblink')
-rw-r--r--src/liblink/sym.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/liblink/sym.c b/src/liblink/sym.c
index cba50e9c7..2b029ce4d 100644
--- a/src/liblink/sym.c
+++ b/src/liblink/sym.c
@@ -49,6 +49,7 @@ static struct {
"elf", Helf,
"freebsd", Hfreebsd,
"linux", Hlinux,
+ "android", Hlinux,
"nacl", Hnacl,
"netbsd", Hnetbsd,
"openbsd", Hopenbsd,