diff --git a/integration_test.go b/integration_test.go index 35fbfef1..eb37899e 100644 --- a/integration_test.go +++ b/integration_test.go @@ -394,7 +394,7 @@ func mustHandleFlags(t *testing.T) { // Build the binary. cmd := command{Env: append(os.Environ(), "GOOS="+goos, "GOARCH="+goarch)} - cmd.mustRun(t, "go", "build", "-trimpath", "-ldflags", "-s -w", "-o", binPath, "./cmd/protoc-gen-go") + cmd.mustRun(t, "go", "build", "-trimpath", "-ldflags", "-s -w -buildid=", "-o", binPath, "./cmd/protoc-gen-go") // Archive and compress the binary. in, err := ioutil.ReadFile(binPath)