• Elias Naur's avatar
    cmd/go: add -shared to darwin/arm{,64} default build mode · fa270ad9
    Elias Naur authored
    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/22920Reviewed-by: 's avatarDavid Crawshaw <crawshaw@golang.org>
    Run-TryBot: David Crawshaw <crawshaw@golang.org>
    TryBot-Result: Gobot Gobot <gobot@golang.org>
    fa270ad9
Name
Last commit
Last update
..
testdata Loading commit data...
alldocs.go Loading commit data...
bootstrap.go Loading commit data...
build.go Loading commit data...
clean.go Loading commit data...
context.go Loading commit data...
discovery.go Loading commit data...
doc.go Loading commit data...
env.go Loading commit data...
fix.go Loading commit data...
fmt.go Loading commit data...
generate.go Loading commit data...
generate_test.go Loading commit data...
get.go Loading commit data...
go11.go Loading commit data...
go_test.go Loading commit data...
go_unix_test.go Loading commit data...
go_windows_test.go Loading commit data...
help.go Loading commit data...
http.go Loading commit data...
list.go Loading commit data...
main.go Loading commit data...
match_test.go Loading commit data...
mkalldocs.sh Loading commit data...
note.go Loading commit data...
note_test.go Loading commit data...
pkg.go Loading commit data...
pkg_test.go Loading commit data...
run.go Loading commit data...
signal.go Loading commit data...
signal_notunix.go Loading commit data...
signal_unix.go Loading commit data...
tag_test.go Loading commit data...
test.go Loading commit data...
testflag.go Loading commit data...
testgo.go Loading commit data...
tool.go Loading commit data...
vcs.go Loading commit data...
vcs_test.go Loading commit data...
vendor_test.go Loading commit data...
version.go Loading commit data...
vet.go Loading commit data...