chiark / gitweb /
packages/catacomb2: Support assembler code on Android.
[termux-packages] / packages / golang / src-runtime-cgo-cgo.go.patch
1 diff -u -r ../go/src/runtime/cgo/cgo.go ./src/runtime/cgo/cgo.go
2 --- ../go/src/runtime/cgo/cgo.go        2015-08-06 00:36:35.000000000 -0400
3 +++ ./src/runtime/cgo/cgo.go    2015-08-16 16:03:29.614948543 -0400
4 @@ -16,7 +16,6 @@
5  #cgo darwin,arm64 LDFLAGS: -framework CoreFoundation
6  #cgo dragonfly LDFLAGS: -lpthread
7  #cgo freebsd LDFLAGS: -lpthread
8 -#cgo android LDFLAGS: -llog
9  #cgo !android,linux LDFLAGS: -lpthread
10  #cgo netbsd LDFLAGS: -lpthread
11  #cgo openbsd LDFLAGS: -lpthread