From 98e38d64e2966758d25eab093a8ab88e28825fb661abcb697e98ae7429f693a6 Mon Sep 17 00:00:00 2001 From: Stefan Dirsch Date: Tue, 24 Jan 2023 11:08:12 +0000 Subject: [PATCH] - force usage of gcc 12 only on Leap 15.5; there is no gcc12 on Leap 15.4 OBS-URL: https://build.opensuse.org/package/show/X11:XOrg/Mesa?expand=0&rev=1181 --- Mesa.changes | 6 ++++++ Mesa.spec | 2 +- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/Mesa.changes b/Mesa.changes index e90053d..0f1b5fa 100644 --- a/Mesa.changes +++ b/Mesa.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Tue Jan 24 11:06:48 UTC 2023 - Stefan Dirsch + +- force usage of gcc 12 only on Leap 15.5; there is no gcc12 on + Leap 15.4 + ------------------------------------------------------------------- Mon Jan 23 18:43:50 UTC 2023 - Stefan Dirsch diff --git a/Mesa.spec b/Mesa.spec index b3a7b70..9fd6b3a 100644 --- a/Mesa.spec +++ b/Mesa.spec @@ -805,7 +805,7 @@ grep -v -i vulkan "%{_sourcedir}/baselibs.conf" >"%{_sourcedir}/temp" && \ %ifarch ppc64 ppc64le %limit_build -m 1024 %endif -%if 0%{?sle_version} >= 150400 +%if 0%{?sle_version} >= 150500 export CC=gcc-12 export CXX=g++-12 %endif