• Ian Lance Taylor's avatar
    cmd/go: pass --build-id=none when generating a cgo .o · 7fdb0292
    Ian Lance Taylor authored
    Some systems, like Ubuntu, pass --build-id when linking.  The
    effect is to put a note in the output file.  This is not
    useful when generating an object file with the -r option, as
    it eventually causes multiple build ID notes in the final
    executable, all but one of which are for tiny portions of the
    file and are therefore useless.
    
    Disable that by passing an explicit --build-id=none when
    linking with -r on systems that might do this.
    
    LGTM=bradfitz
    R=golang-codereviews, bradfitz
    CC=golang-codereviews
    https://golang.org/cl/119460043
    7fdb0292
Name
Last commit
Last update
..
android Loading commit data...
arm Loading commit data...
cgo Loading commit data...
chrome/gophertool Loading commit data...
dashboard/codereview Loading commit data...
git Loading commit data...
linkcheck Loading commit data...
makerelease Loading commit data...
nacl Loading commit data...
swig Loading commit data...
benchcmp Loading commit data...
editors Loading commit data...
pprof Loading commit data...