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-addons?expand=0&rev=383
This commit is contained in:
committed by
Git OBS Bridge
parent
4a38d86e60
commit
4198621e63
@@ -1,3 +1,9 @@
|
||||
-------------------------------------------------------------------
|
||||
Wed Jan 31 14:35:45 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
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Dec 6 11:46:51 UTC 2023 - Fabian Vogt <fabian@ritter-vogt.de>
|
||||
|
||||
|
@@ -67,8 +67,8 @@ BuildRequires: cmake(Qt5WebEngine)
|
||||
BuildRequires: cmake(Qt5Widgets)
|
||||
BuildRequires: cmake(Qt5X11Extras)
|
||||
%if 0%{?suse_version} < 1550
|
||||
BuildRequires: gcc10-PIE
|
||||
BuildRequires: gcc10-c++
|
||||
BuildRequires: gcc13-PIE
|
||||
BuildRequires: gcc13-c++
|
||||
%endif
|
||||
BuildRequires: pkgconfig(x11)
|
||||
BuildRequires: pkgconfig(xcb)
|
||||
@@ -100,7 +100,7 @@ the Plasma desktop.
|
||||
|
||||
%build
|
||||
%if 0%{?suse_version} < 1550
|
||||
export CXX=g++-10
|
||||
export CXX=g++-13
|
||||
%endif
|
||||
%cmake_kf5 -d build -- -DCMAKE_INSTALL_LOCALEDIR=%{_kf5_localedir}
|
||||
%cmake_build
|
||||
|
Reference in New Issue
Block a user