public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: dbenoit <dbenoit@redhat.com>
To: git-commits@fedoraproject.org
Subject: [rpms/golang] eln: Set conditional ISA for bootstrap
Date: Wed, 24 Jun 2026 17:14:10 GMT [thread overview]
Message-ID: <178232125054.1.9701527108592876208.rpms-golang-fd1ccb570791@fedoraproject.org> (raw)
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
reply other threads:[~2026-06-24 17:14 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=178232125054.1.9701527108592876208.rpms-golang-fd1ccb570791@fedoraproject.org \
--to=dbenoit@redhat.com \
--cc=git-commits@fedoraproject.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox