Descriptioncmd/go: pass --build-id=none when generating a cgo .o
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.
Patch Set 1 #Patch Set 2 : diff -r 163fae12c83b https://code.google.com/p/go #
Total comments: 2
Patch Set 3 : diff -r f7f98d34ccaaf832b775285629578264e7016b30 https://code.google.com/p/go #
MessagesTotal messages: 6
|