golang/0001-Modify-go.env.patch
Alejandro Sáez fff4ad9ce8 Renaming patch
There was an issue during an update and another version of a patch was
introduced by mistake. GOPROXY, GOSUMDB and the baseline ISA for PPC64
were modified by this change.

This commit overrides the "bad" patch with the "good" one. And also
deletes an old unused patch.

Related: RHEL-34085
Related: RHEL-32658
2024-05-17 13:19:15 +02:00

31 lines
780 B
Diff

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