diff --git a/mesa.spec b/mesa.spec index bb640e2..91b7acd 100644 --- a/mesa.spec +++ b/mesa.spec @@ -73,11 +73,16 @@ %global vendor_nvk_crates 1 %endif +# We've gotten a report that enabling LTO for mesa breaks some games. See +# https://bugzilla.redhat.com/show_bug.cgi?id=1862771 for details. +# Disable LTO for now +%global _lto_cflags %nil + Name: mesa Summary: Mesa graphics libraries %global ver 25.2.5 Version: %{lua:ver = string.gsub(rpm.expand("%{ver}"), "-", "~"); print(ver)} -Release: 1%{?dist} +Release: 2%{?dist} License: MIT AND BSD-3-Clause AND SGI-B-2.0 URL: http://www.mesa3d.org @@ -526,11 +531,6 @@ rewrite_wrap_file paste rewrite_wrap_file rustc-hash %endif -# We've gotten a report that enabling LTO for mesa breaks some games. See -# https://bugzilla.redhat.com/show_bug.cgi?id=1862771 for details. -# Disable LTO for now -%define _lto_cflags %{nil} - %meson \ -Dplatforms=x11,wayland \ %if 0%{?with_hardware} @@ -879,6 +879,10 @@ popd %endif %changelog +* Tue Nov 18 2025 Mika Penttilä José Expósito - 25.2.5-2 +- Disable LTO globally + Resolves: https://issues.redhat.com/browse/RHEL-128255 + * Wed Nov 5 2025 Mika Penttilä