From a84b8852b072efdbe2a7ea533c270ea314be78a3 Mon Sep 17 00:00:00 2001 From: Anders Rytter Hansen Date: Tue, 18 Feb 2025 07:22:41 +0100 Subject: [PATCH] mesa: use LTO and bump xwayland version --- my-ostree-os/mesa.spec | 7 +------ my-ostree-os/xorg-x11-server-Xwayland.spec | 2 +- 2 files changed, 2 insertions(+), 7 deletions(-) diff --git a/my-ostree-os/mesa.spec b/my-ostree-os/mesa.spec index 9f4c443..98be03a 100644 --- a/my-ostree-os/mesa.spec +++ b/my-ostree-os/mesa.spec @@ -71,7 +71,7 @@ Name: mesa Summary: Mesa graphics libraries %global ver 24.3.4 Version: %{lua:ver = string.gsub(rpm.expand("%{ver}"), "-", "~"); print(ver)} -Release: 14.clang.skylake%{?dist} +Release: 15.clang.skylake%{?dist} License: MIT AND BSD-3-Clause AND SGI-B-2.0 URL: http://www.mesa3d.org @@ -408,11 +408,6 @@ export MESON_PACKAGE_CACHE_DIR="%{cargo_registry}/" %rewrite_wrap_file paste %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} - CFLAGS="$CFLAGS -march=skylake -mtune=skylake -O3" CXXFLAGS="$CXXFLAGS -march=skylake -mtune=skylake -O3" %meson \ -Dplatforms=x11,wayland \ -Dosmesa=true \ diff --git a/my-ostree-os/xorg-x11-server-Xwayland.spec b/my-ostree-os/xorg-x11-server-Xwayland.spec index c3f4970..4852605 100644 --- a/my-ostree-os/xorg-x11-server-Xwayland.spec +++ b/my-ostree-os/xorg-x11-server-Xwayland.spec @@ -12,7 +12,7 @@ Summary: Xwayland Name: xorg-x11-server-Xwayland Version: 24.1.5 -Release: 13.clang.skylake%{?dist} +Release: 15.clang.skylake%{?dist} URL: http://www.x.org %if 0%{?gitdate}