public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/golang] eln: Set conditional ISA for bootstrap
@ 2026-06-24 17:14 dbenoit
0 siblings, 0 replies; only message in thread
From: dbenoit @ 2026-06-24 17:14 UTC (permalink / raw)
To: git-commits
A new commit has been pushed.
Repo : rpms/golang
Branch : eln
Commit : fd1ccb57079131ae316723fcfe6928b063c53697
Author : dbenoit <dbenoit@redhat.com>
Date : 2026-05-15T09:23:16-04:00
Stats : +7/-7 in 1 file(s)
URL : https://src.fedoraproject.org/rpms/golang/c/fd1ccb57079131ae316723fcfe6928b063c53697?branch=eln
Log:
Set conditional ISA for bootstrap
Related: RHEL-175604
---
diff --git a/golang.spec b/golang.spec
index f146775..b8d92a1 100644
--- a/golang.spec
+++ b/golang.spec
@@ -425,7 +425,7 @@ popd
cp "${tsan_go_dir}"/race_linux_amd64.syso ./src/runtime/race/internal/amd64v3/race_linux.syso
pushd "${tsan_go_dir}"
- CFLAGS="%{tsan_buildflags} %{tsan_optflag}" CC=clang GOAMD64=v3 ./buildgo.sh
+ CFLAGS="%{tsan_buildflags} %{tsan_optflag}" CC=clang GOAMD64=v1 ./buildgo.sh
popd
cp "${tsan_go_dir}"/race_linux_amd64.syso ./src/runtime/race/internal/amd64v1/race_linux.syso
@@ -449,8 +449,8 @@ export GOROOT_FINAL=%{goroot}
export GOHOSTOS=linux
export GOHOSTARCH=%{gohostarch}
-export GOAMD64=v3
-export GOPPC64='power9'
+export GOAMD64=%{goamd64}
+export GOPPC64=%{goppc64}
pushd src
# use our gcc options for this build, but store gcc as default for compiler
@@ -460,8 +460,8 @@ export CC="gcc"
export CC_FOR_TARGET="gcc"
export GOOS=linux
export GOARCH=%{gohostarch}
-export GOAMD64=v3
-export GOPPC64='power9'
+export GOAMD64=%{goamd64}
+export GOPPC64=%{goppc64}
DEFAULT_GO_LD_FLAGS=""
%if !%{external_linker}
@@ -618,8 +618,8 @@ go env
export CC="gcc"
export CFLAGS="$RPM_OPT_FLAGS"
export LDFLAGS="$RPM_LD_FLAGS"
-export GOAMD64=v3
-export GOPPC64='power9'
+export GOAMD64=%{goamd64}
+export GOPPC64=%{goppc64}
%if !%{external_linker}
export GO_LDFLAGS="-linkmode internal"
%else
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2026-06-24 17:14 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-06-24 17:14 [rpms/golang] eln: Set conditional ISA for bootstrap dbenoit
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox