• 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
..
errors Loading commit data...
fortran Loading commit data...
gmp Loading commit data...
life Loading commit data...
nocgo Loading commit data...
stdio Loading commit data...
test Loading commit data...
testasan Loading commit data...
testcarchive Loading commit data...
testcshared Loading commit data...
testgodefs Loading commit data...
testsanitizers Loading commit data...
testshared Loading commit data...
testsigfwd Loading commit data...
testso Loading commit data...
testsovar Loading commit data...
testtls Loading commit data...