From f30b507b28f6ea21379769bfc59c7db3213d6a89 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jos=C3=A9=20Exp=C3=B3sito?= Date: Fri, 26 Jan 2024 12:42:02 +0100 Subject: [PATCH] Enable LTO LTO was disabled 3 years ago because it was causing issues with certain applications and games: https://bugzilla.redhat.com/show_bug.cgi?id=1862771 Since then, support for LTO has improved upstream. Re-enable it. --- mesa.spec | 5 ----- 1 file changed, 5 deletions(-) diff --git a/mesa.spec b/mesa.spec index 2ca9aba..86a30ae 100644 --- a/mesa.spec +++ b/mesa.spec @@ -388,11 +388,6 @@ export MESON_PACKAGE_CACHE_DIR="%{cargo_registry}/" %rewrite_wrap_file unicode-ident %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 \ -Ddri3=enabled \