From bd1cff3e83530b9b89b27d8083ea8f3f0cf6ede4 Mon Sep 17 00:00:00 2001 From: Andrey Smirnov Date: Wed, 12 Apr 2023 14:59:39 +0400 Subject: [PATCH] chore: remove Go buildid See https://github.com/golang/go/issues/59553 The problem is that `buildid` is not reproducible for Talos builds with Go 1.20+. Remove the `buildid` until the issue is resolved to make builds reproducible. Signed-off-by: Andrey Smirnov --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 0c7a4ce02a..3d85e791be 100644 --- a/Makefile +++ b/Makefile @@ -73,7 +73,7 @@ IMAGER_SYSTEM_EXTENSIONS ?= CGO_ENABLED ?= 0 GO_BUILDFLAGS ?= -GO_LDFLAGS ?= +GO_LDFLAGS ?= all=-buildid= GOAMD64 ?= v2 WITH_RACE ?= false