12
0

Switch to GCC 13 for Leap builds for packages that can't be built with the default compiler

OBS-URL: https://build.opensuse.org/package/show/KDE:Frameworks5/plasma5-workspace?expand=0&rev=720
This commit is contained in:
Christophe Marin
2024-01-31 19:58:33 +00:00
committed by Git OBS Bridge
parent 2492c81688
commit 540efbe36f
2 changed files with 9 additions and 3 deletions

View File

@@ -1,3 +1,9 @@
-------------------------------------------------------------------
Wed Jan 31 14:35:51 UTC 2024 - Christophe Marin <christophe@krop.fr>
- Switch to the latest GCC version available in Leap for packages
that can't build with the default compiler
-------------------------------------------------------------------
Thu Dec 21 09:49:14 UTC 2023 - Christophe Marin <christophe@krop.fr>

View File

@@ -50,8 +50,8 @@ Patch506: 0001-Revert-No-icons-on-the-desktop-by-default.patch
BuildRequires: breeze5-icons
BuildRequires: fdupes
%if 0%{?suse_version} < 1550
BuildRequires: gcc10-PIE
BuildRequires: gcc10-c++
BuildRequires: gcc13-PIE
BuildRequires: gcc13-c++
%endif
BuildRequires: kf5-filesystem
BuildRequires: libQt5Gui-private-headers-devel
@@ -335,7 +335,7 @@ Plasma 5 session with Wayland from a display manager.
%build
%if 0%{?suse_version} < 1550
export CXX=g++-10
export CXX=g++-13
%endif
%cmake_kf5 -d build -- -DKDE_DEFAULT_HOME=.kde4 -DCMAKE_INSTALL_LOCALEDIR=%{_kf5_localedir} -DGLIBC_LOCALE_GENERATED=TRUE -DGLIBC_LOCALE_GEN=OFF
%cmake_build