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/kio?expand=0&rev=408
This commit is contained in:
parent
e4b6f095c7
commit
9ac31a46f3
@ -1,3 +1,9 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed Jan 31 14:35:12 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
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Sat Jan 13 11:21:44 UTC 2024 - Christophe Marin <christophe@krop.fr>
|
Sat Jan 13 11:21:44 UTC 2024 - Christophe Marin <christophe@krop.fr>
|
||||||
|
|
||||||
|
6
kio.spec
6
kio.spec
@ -39,8 +39,8 @@ BuildRequires: extra-cmake-modules >= %{_kf5_version}
|
|||||||
BuildRequires: fdupes
|
BuildRequires: fdupes
|
||||||
# gcc7 is too old for std::transform_reduce
|
# gcc7 is too old for std::transform_reduce
|
||||||
%if 0%{?suse_version} == 1500
|
%if 0%{?suse_version} == 1500
|
||||||
BuildRequires: gcc10-c++
|
BuildRequires: gcc13-c++
|
||||||
BuildRequires: gcc10-PIE
|
BuildRequires: gcc13-PIE
|
||||||
%endif
|
%endif
|
||||||
BuildRequires: krb5-devel
|
BuildRequires: krb5-devel
|
||||||
BuildRequires: libacl-devel
|
BuildRequires: libacl-devel
|
||||||
@ -139,7 +139,7 @@ Development files.
|
|||||||
%endif
|
%endif
|
||||||
|
|
||||||
%if 0%{?suse_version} == 1500
|
%if 0%{?suse_version} == 1500
|
||||||
export CXX=g++-10
|
export CXX=g++-13
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
%cmake_kf5 -d build
|
%cmake_kf5 -d build
|
||||||
|
Loading…
Reference in New Issue
Block a user