SHA256
1
0
forked from pool/krita

Accepting request 1200201 from KDE:Extra

- Use gcc 13 to compile krita on Tumbleweed

OBS-URL: https://build.opensuse.org/request/show/1200201
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/krita?expand=0&rev=77
This commit is contained in:
Ana Guerrero 2024-09-12 14:56:43 +00:00 committed by Git OBS Bridge
commit 8348c8ef8c
2 changed files with 13 additions and 0 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Wed Sep 11 20:54:45 UTC 2024 - Christophe Marin <christophe@krop.fr>
- Use gcc 13 to compile krita on Tumbleweed
-------------------------------------------------------------------
Fri Jun 28 13:40:53 UTC 2024 - Christophe Marin <christophe@krop.fr>

View File

@ -47,6 +47,11 @@ BuildRequires: %{pyver}-sip-devel
BuildRequires: OpenEXR-devel
BuildRequires: extra-cmake-modules
BuildRequires: fftw3-devel
# gcc 14 became the default compiler despite knowing it was causing boost issue. Stick to gcc 13 for the moment
%if 0%{?suse_version} > 1500
BuildRequires: gcc13-c++
BuildRequires: gcc13-PIE
%endif
BuildRequires: giflib-devel
BuildRequires: gsl-devel
%if 0%{?suse_version} > 1500
@ -141,6 +146,9 @@ Development headers and libraries for Krita.
%autosetup -p1
%build
%if 0%{?suse_version} > 1500
export CC=gcc-13 CXX=g++-13
%endif
%cmake_kf5 -d build -- -DKRITA_ENABLE_PCH:BOOL=OFF
%cmake_build