1
0
mirror of https://github.com/golang/go synced 2024-11-23 15:40:06 -07:00
go/misc/cgo/testcarchive
Elias Naur fa270ad98e cmd/go: add -shared to darwin/arm{,64} default build mode
Buildmode c-archive now supports position independent code for
darwin/arm (in addition to darwin/arm64). Make PIC (-shared) the
default for both platforms in the default buildmode.

Without this change, gomobile will go install the standard library
into its separate package directory without PIC support.

Also add -shared to darwin/arm64 in buildmode c-archive, for
symmetry (darwin/arm64 always generates position independent code).

Fixes #15519

Change-Id: If27d2cbea8f40982e14df25da2703cbba572b5c6
Reviewed-on: https://go-review.googlesource.com/22920
Reviewed-by: David Crawshaw <crawshaw@golang.org>
Run-TryBot: David Crawshaw <crawshaw@golang.org>
TryBot-Result: Gobot Gobot <gobot@golang.org>
2016-05-07 18:58:39 +00:00
..
src misc/cgo/testcarchive: more robust TestSignalForwardingExternal 2016-03-26 02:40:12 +00:00
carchive_test.go cmd/go: add -shared to darwin/arm{,64} default build mode 2016-05-07 18:58:39 +00:00
main2.c misc/cgo/testcarchive,testcshared: deflake tests 2016-01-07 01:32:29 +00:00
main3.c misc/cgo/testcarchive,testcshared: deflake tests 2016-01-07 01:32:29 +00:00
main4.c misc/cgo/testcarchive: avoid possible pthread_create race 2016-05-06 19:15:52 +00:00
main5.c misc/cgo/testcarchive: more robust TestSignalForwardingExternal 2016-03-26 02:40:12 +00:00
main_unix.c misc/cgo/testcarchive: split main.c into unix and non-unix 2016-03-26 00:57:23 +00:00
main_windows.c misc/cgo/testcarchive: split main.c into unix and non-unix 2016-03-26 00:57:23 +00:00
main.c misc/cgo/testcarchive: split main.c into unix and non-unix 2016-03-26 00:57:23 +00:00