From: Russ Cox Date: Mon, 5 Jun 2017 14:23:42 +0000 (-0400) Subject: cmd/go: include Fortran files in build ID computation X-Git-Tag: go1.9beta1~115 X-Git-Url: http://www.git.cypherpunks.su/?a=commitdiff_plain;h=1f26e77e5901fb198599f12f615d0222dd7e7984;p=gostls13.git cmd/go: include Fortran files in build ID computation Otherwise removing a .f file won't trigger a rebuild. Noticed by inspection while working on the code. I don't have a good way to write a test for this, and I expect the code to change significantly in the next release, but might as well get it right for Go 1.9. Change-Id: I3f6f9f71b3a7d4f0be49a47419dac59899959e7c Reviewed-on: https://go-review.googlesource.com/44855 Run-TryBot: Russ Cox Reviewed-by: Brad Fitzpatrick Reviewed-by: Ian Lance Taylor --- diff --git a/src/cmd/go/internal/load/pkg.go b/src/cmd/go/internal/load/pkg.go index af56b487fc..bfd084200c 100644 --- a/src/cmd/go/internal/load/pkg.go +++ b/src/cmd/go/internal/load/pkg.go @@ -1628,6 +1628,7 @@ func computeBuildID(p *Package) { p.CgoFiles, p.CFiles, p.CXXFiles, + p.FFiles, p.MFiles, p.HFiles, p.SFiles,