public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/apptainer] migrate-spdx: Add the patch file too
@ 2026-08-03 17:53 Dave Dykstra
0 siblings, 0 replies; only message in thread
From: Dave Dykstra @ 2026-08-03 17:53 UTC (permalink / raw)
To: git-commits
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)'"
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2026-08-03 17:53 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-08-03 17:53 [rpms/apptainer] migrate-spdx: Add the patch file too Dave Dykstra
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox