• Russ Cox's avatar
    cmd/go: ignore -linkmode=external during cmd/cgo build · b78bce08
    Russ Cox authored
    cmd/cgo is special among the build tools because it is (re)built on demand
    when needed for a package using cgo, to avoid additional bootstrap logic
    elsewhere. (This is in contrast to cmd/compile, cmd/link, and so on, which
    must be specially built before even invoking the go command.)
    
    When the go command starts using content-based decisions about staleness,
    it is important that the build of cmd/cgo never use -linkmode=external,
    because that depends on runtime/cgo, which in turn depends on cmd/cgo.
    
    Change-Id: I72a2be748606d1ed4b93a54f2a5c7084e87d5fbc
    Reviewed-on: https://go-review.googlesource.com/67310Reviewed-by: 's avatarIan Lance Taylor <iant@golang.org>
    b78bce08
Name
Last commit
Last update
.github Loading commit data...
api Loading commit data...
doc Loading commit data...
lib/time Loading commit data...
misc Loading commit data...
src Loading commit data...
test Loading commit data...
.gitattributes Loading commit data...
.gitignore Loading commit data...
AUTHORS Loading commit data...
CONTRIBUTING.md Loading commit data...
CONTRIBUTORS Loading commit data...
LICENSE Loading commit data...
PATENTS Loading commit data...
README.md Loading commit data...
favicon.ico Loading commit data...
robots.txt Loading commit data...