mirror of https://github.com/golang/go.git
cmd/link/internal/ld: include table of contents of c-archive output.
Change-Id: If11621985c0a5a1f2133cdc974f37fd944b93e5e Reviewed-on: https://go-review.googlesource.com/10808 Run-TryBot: Ian Lance Taylor <iant@golang.org> Reviewed-by: Ian Lance Taylor <iant@golang.org>
This commit is contained in:
parent
494ff188f8
commit
c9778ec302
|
|
@ -877,7 +877,7 @@ func archive() {
|
|||
}
|
||||
|
||||
os.Remove(outfile)
|
||||
argv := []string{"ar", "-q", "-c", outfile}
|
||||
argv := []string{"ar", "-q", "-c", "-s", outfile}
|
||||
argv = append(argv, hostobjCopy()...)
|
||||
argv = append(argv, fmt.Sprintf("%s/go.o", tmpdir))
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue