Add -O3 for greater optimization.

This commit is contained in:
Anders Rytter Hansen 2025-02-14 00:00:59 +01:00
commit 1b016f19c8
2 changed files with 4 additions and 4 deletions

View file

@ -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: 13.clang.skylake%{?dist}
Release: 14.clang.skylake%{?dist}
License: MIT AND BSD-3-Clause AND SGI-B-2.0
URL: http://www.mesa3d.org
@ -413,7 +413,7 @@ export MESON_PACKAGE_CACHE_DIR="%{cargo_registry}/"
# Disable LTO for now
%define _lto_cflags %{nil}
CFLAGS="$CFLAGS -march=skylake -mtune=skylake" CXXFLAGS="$CXXFLAGS -march=skylake -mtune=skylake" %meson \
CFLAGS="$CFLAGS -march=skylake -mtune=skylake -O3" CXXFLAGS="$CXXFLAGS -march=skylake -mtune=skylake -O3" %meson \
-Dplatforms=x11,wayland \
-Dosmesa=true \
--buildtype=release \