public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Dave Dykstra <2129743+DrDaveD@users.noreply.github.com>
To: git-commits@fedoraproject.org
Subject: [rpms/apptainer] migrate-spdx: Add the patch file too
Date: Mon, 03 Aug 2026 17:53:39 GMT [thread overview]
Message-ID: <178577961903.1.1506889982815185141.rpms-apptainer-e106ba66b07c@fedoraproject.org> (raw)
A new commit has been pushed.
Repo : rpms/apptainer
Branch : migrate-spdx
Commit : e106ba66b07c3e714d2de601bee701307161c78f
Author : Dave Dykstra <2129743+DrDaveD@users.noreply.github.com>
Date : 2026-03-13T15:15:14-05:00
Stats : +25/-0 in 1 file(s)
URL : https://src.fedoraproject.org/rpms/apptainer/c/e106ba66b07c3e714d2de601bee701307161c78f?branch=migrate-spdx
Log:
Add the patch file too
---
diff --git a/skip-ppc64le-ldflags.patch b/skip-ppc64le-ldflags.patch
new file mode 100644
index 0000000..378de75
--- /dev/null
+++ b/skip-ppc64le-ldflags.patch
@@ -0,0 +1,25 @@
+diff --git a/mlocal/frags/common_opts.mk b/mlocal/frags/common_opts.mk
+index 64160bf10..1f6f5c72a 100644
+--- a/mlocal/frags/common_opts.mk
++++ b/mlocal/frags/common_opts.mk
+@@ -4,4 +4,9 @@ CLEANFILES :=
+ # general build-wide compile options
+ AFLAGS := -g
+
+-LDFLAGS += -Wl,-z,relro,-z,now
++GO_EXTLDFLAGS := -Wl,-z,relro,-z,now
++# The default LDFLAGS interfere on EL10 through Fedora on ppc64le arch
++uname_m := $(shell uname -m)
++ifneq ($(uname_m),ppc64le)
++GO_EXTLDFLAGS += $(LDFLAGS)
++endif
+diff --git a/mlocal/frags/go_normal_opts.mk b/mlocal/frags/go_normal_opts.mk
+index 65ea16cc3..1e185f6fe 100644
+--- a/mlocal/frags/go_normal_opts.mk
++++ b/mlocal/frags/go_normal_opts.mk
+@@ -4,4 +4,4 @@
+ # "-B gobuildid" is a simplification of the macro, to tell go's link
+ # command to add a GNU Build Id itself.
+ GO_TAGS += rpm_crashtraceback
+-GO_LDFLAGS += -ldflags="-linkmode=external -compressdwarf=false -B gobuildid -extldflags '$(LDFLAGS)'"
++GO_LDFLAGS += -ldflags="-linkmode=external -compressdwarf=false -B gobuildid -extldflags '$(GO_EXTLDFLAGS)'"
reply other threads:[~2026-08-03 17:53 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=178577961903.1.1506889982815185141.rpms-apptainer-e106ba66b07c@fedoraproject.org \
--to=2129743+drdaved@users.noreply.github.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