golang/0001-Modify-go.env.patch
Archana 887c3dbef0 - Rebase to Go1.22.1
- Resolves RHEL-29526
2024-03-25 22:23:04 +05:30

33 lines
854 B
Diff

From f02acf07aabbe16a7c312915e17f9d17cfc475cf Mon Sep 17 00:00:00 2001
From: Archana Ravindar <aravinda@redhat.com>
Date: Mon, 25 Mar 2024 22:18:07 +0530
Subject: [PATCH] set v3 as default ISA for AMD64 in go.env patch file
---
go.env | 9 ++++++---
1 file changed, 6 insertions(+), 3 deletions(-)
diff --git a/go.env b/go.env
index 6ff2b921d4..17d4053cdc 100644
--- a/go.env
+++ b/go.env
@@ -4,9 +4,12 @@
# Use the Go module mirror and checksum database by default.
# See https://proxy.golang.org for details.
-GOPROXY=https://proxy.golang.org,direct
-GOSUMDB=sum.golang.org
+GOPROXY=direct
+GOSUMDB=off
# Automatically download newer toolchains as directed by go.mod files.
# See https://go.dev/doc/toolchain for details.
-GOTOOLCHAIN=auto
+GOTOOLCHAIN=local
+
+# Set baseline amd64 ISA to v3 as distribution default
+GOAMD64=v3
--
2.44.0