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:
commit
8348c8ef8c
@ -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>
|
Fri Jun 28 13:40:53 UTC 2024 - Christophe Marin <christophe@krop.fr>
|
||||||
|
|
||||||
|
@ -47,6 +47,11 @@ BuildRequires: %{pyver}-sip-devel
|
|||||||
BuildRequires: OpenEXR-devel
|
BuildRequires: OpenEXR-devel
|
||||||
BuildRequires: extra-cmake-modules
|
BuildRequires: extra-cmake-modules
|
||||||
BuildRequires: fftw3-devel
|
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: giflib-devel
|
||||||
BuildRequires: gsl-devel
|
BuildRequires: gsl-devel
|
||||||
%if 0%{?suse_version} > 1500
|
%if 0%{?suse_version} > 1500
|
||||||
@ -141,6 +146,9 @@ Development headers and libraries for Krita.
|
|||||||
%autosetup -p1
|
%autosetup -p1
|
||||||
|
|
||||||
%build
|
%build
|
||||||
|
%if 0%{?suse_version} > 1500
|
||||||
|
export CC=gcc-13 CXX=g++-13
|
||||||
|
%endif
|
||||||
%cmake_kf5 -d build -- -DKRITA_ENABLE_PCH:BOOL=OFF
|
%cmake_kf5 -d build -- -DKRITA_ENABLE_PCH:BOOL=OFF
|
||||||
|
|
||||||
%cmake_build
|
%cmake_build
|
||||||
|
Loading…
Reference in New Issue
Block a user