- Build with GCC 13 on Leap/SLES 15 (bsc#1238713)

OBS-URL: https://build.opensuse.org/package/show/X11:XOrg/Mesa?expand=0&rev=1380
This commit is contained in:
2025-03-06 13:53:11 +00:00
committed by Git OBS Bridge
parent 189b8505a3
commit 365e6a55ce
2 changed files with 13 additions and 5 deletions

View File

@@ -1,3 +1,8 @@
-------------------------------------------------------------------
Thu Mar 6 13:51:52 UTC 2025 - Stefan Dirsch <sndirsch@suse.com>
- Build with GCC 13 on Leap/SLES 15 (bsc#1238713)
-------------------------------------------------------------------
Wed Mar 5 22:13:36 UTC 2025 - Stefan Dirsch <sndirsch@suse.com>

View File

@@ -148,6 +148,12 @@
%global _proc_macro2_ver 1.0.86
%global _paste_crate_ver 1.0.14
# Leap 15 and SLES 15 defaults to GCC 7, which does not have stable C++17 ABI.
# See https://bugzilla.suse.com/show_bug.cgi?id=1235697
%if 0%{?suse_version} < 1600
%define gcc_version 13
%endif
Name: Mesa%{psuffix}
%ifnarch s390x
Version: 25.0.1
@@ -221,11 +227,8 @@ BuildRequires: bison
BuildRequires: cmake
BuildRequires: fdupes
BuildRequires: flex
%if 0%{?sle_version} >= 150400
BuildRequires: gcc13-c++
%else
BuildRequires: gcc-c++
%endif
BuildRequires: gcc%{?gcc_version} >= 9
BuildRequires: gcc%{?gcc_version}-c++ >= 9
BuildRequires: glslang-devel
BuildRequires: imake
BuildRequires: libtool