public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/rpm] pmatilai-v6: Disable LTO on x86 as a workaround for #2356219
@ 2026-11-23  9:35 Panu Matilainen
  0 siblings, 0 replies; only message in thread
From: Panu Matilainen @ 2026-11-23  9:35 UTC (permalink / raw)
  To: git-commits

A new commit has been pushed.

Repo   : rpms/rpm
Branch : pmatilai-v6
Commit : 274b030c697b5dacf15c946dfc6622386ee87441
Author : Panu Matilainen <pmatilai@redhat.com>
Date   : 2025-03-31T16:53:09+03:00
Stats  : +9/-1 in 1 file(s)
URL    : https://src.fedoraproject.org/rpms/rpm/c/274b030c697b5dacf15c946dfc6622386ee87441?branch=pmatilai-v6

Log:
Disable LTO on x86 as a workaround for #2356219

---
diff --git a/rpm.spec b/rpm.spec
index ec37e9f..c3a896b 100644
--- a/rpm.spec
+++ b/rpm.spec
@@ -26,12 +26,17 @@
 
 %global rpmver 4.20.1
 #global snapver rc1
-%global baserelease 2
+%global baserelease 3
 %global sover 10
 
 %global srcver %{rpmver}%{?snapver:-%{snapver}}
 %global srcdir %{?snapver:testing}%{!?snapver:rpm-%(echo %{rpmver} | cut -d'.' -f1-2).x}
 
+# https://bugzilla.redhat.com/show_bug.cgi?id=2356219
+%ifarch %{ix86}
+%global _lto_cflags %{nil}
+%endif
+
 Summary: The RPM package management system
 Name: rpm
 Version: %{rpmver}
@@ -624,6 +629,9 @@ fi
 %doc %{_defaultdocdir}/rpm/API/
 
 %changelog
+* Mon Mar 31 2025 Panu Matilainen <pmatilai@redhat.com> - 4.20.1-3
+- Disable LTO on x86 as a workaround for #2356219
+
 * Mon Mar 31 2025 Panu Matilainen <pmatilai@redhat.com> - 4.20.1-2
 - Re-enable hard dependencies for users and groups as a part of
   https://fedoraproject.org/wiki/Changes/RPMSuportForSystemdSysusers

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2026-11-23  9:35 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-11-23  9:35 [rpms/rpm] pmatilai-v6: Disable LTO on x86 as a workaround for #2356219 Panu Matilainen

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox