golang/SOURCES/modify_go.env.patch

28 lines
694 B
Diff
Raw Normal View History

2024-11-12 10:16:31 +00:00
From d6e201910aa29262851c9274a4cd3645022d3539 Mon Sep 17 00:00:00 2001
2024-04-30 19:57:59 +00:00
From: =?UTF-8?q?Alejandro=20S=C3=A1ez?= <asm@redhat.com>
2024-11-12 10:16:31 +00:00
Date: Tue, 9 Apr 2024 10:05:46 +0200
Subject: [PATCH] Modify environment variables defaults
2024-04-30 19:57:59 +00:00
2024-11-12 10:16:31 +00:00
- Set GOTOOLCHAIN to local
- Set GOAMD64 to v2
2024-04-30 19:57:59 +00:00
---
2024-11-12 10:16:31 +00:00
go.env | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
2024-04-30 19:57:59 +00:00
diff --git a/go.env b/go.env
2024-11-12 10:16:31 +00:00
index 6ff2b921d4..aadcda023b 100644
2024-04-30 19:57:59 +00:00
--- a/go.env
+++ b/go.env
2024-11-12 10:16:31 +00:00
@@ -9,4 +9,7 @@ GOSUMDB=sum.golang.org
2024-04-30 19:57:59 +00:00
# Automatically download newer toolchains as directed by go.mod files.
# See https://go.dev/doc/toolchain for details.
-GOTOOLCHAIN=auto
+GOTOOLCHAIN=local
2024-11-12 10:16:31 +00:00
+
+# The AMD64 baseline for RHEL9 is v2.
+GOAMD64=v2
2024-04-30 19:57:59 +00:00
--
2024-11-12 10:16:31 +00:00
2.44.0
2024-04-30 19:57:59 +00:00