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/libksysguard5?expand=0&rev=381
This commit is contained in:
parent
f96478e713
commit
189f079591
@ -1,3 +1,9 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed Jan 31 14:35:34 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:42 UTC 2023 - Fabian Vogt <fabian@ritter-vogt.de>
|
Wed Dec 6 11:46:42 UTC 2023 - Fabian Vogt <fabian@ritter-vogt.de>
|
||||||
|
|
||||||
|
@ -40,8 +40,8 @@ BuildRequires: kf5-filesystem
|
|||||||
BuildRequires: xz
|
BuildRequires: xz
|
||||||
%if 0%{?suse_version} <= 1500
|
%if 0%{?suse_version} <= 1500
|
||||||
# It does not build with the default compiler (GCC 7) on Leap 15.x
|
# It does not build with the default compiler (GCC 7) on Leap 15.x
|
||||||
BuildRequires: gcc10-PIE
|
BuildRequires: gcc13-PIE
|
||||||
BuildRequires: gcc10-c++
|
BuildRequires: gcc13-c++
|
||||||
%endif
|
%endif
|
||||||
BuildRequires: cmake(KF5Auth)
|
BuildRequires: cmake(KF5Auth)
|
||||||
BuildRequires: cmake(KF5Completion)
|
BuildRequires: cmake(KF5Completion)
|
||||||
@ -147,7 +147,7 @@ QML applications.
|
|||||||
|
|
||||||
%build
|
%build
|
||||||
%if 0%{?suse_version} <= 1500
|
%if 0%{?suse_version} <= 1500
|
||||||
export CC=gcc-10 CXX=g++-10
|
export CC=gcc-13 CXX=g++-13
|
||||||
%endif
|
%endif
|
||||||
%cmake_kf5 -d build -- -DCMAKE_INSTALL_LOCALEDIR=%{_kf5_localedir}
|
%cmake_kf5 -d build -- -DCMAKE_INSTALL_LOCALEDIR=%{_kf5_localedir}
|
||||||
%cmake_build
|
%cmake_build
|
||||||
|
Loading…
x
Reference in New Issue
Block a user