gentoo-ebuilds/dev-lang/go/files/go-1.25-no-dwarf5.patch
William Hubbs 44f89a6708
dev-lang/go: disable dwarf5 generation for now
Bug: https://bugs.gentoo.org/961745
Signed-off-by: William Hubbs <williamh@gentoo.org>
2025-09-08 15:12:40 -05:00

15 lines
533 B
Diff

diff --git a/go.env b/go.env
index 6ff2b921d4..e8959a72c7 100644
--- a/go.env
+++ b/go.env
@@ -2,6 +2,10 @@
# Values set by 'go env -w' and written to the user's go/env file override these.
# The environment overrides everything else.
+#This can be removed when debugedit is fixed to support dwarf5
+# https://sourceware.org/bugzilla/show_bug.cgi?id=33204
+GOEXPERIMENT=nodwarf5
+
# Use the Go module mirror and checksum database by default.
# See https://proxy.golang.org for details.
GOPROXY=https://proxy.golang.org,direct