1
0

Accepting request 643140 from home:wolfi323:test

- Use gcc7 on Leap 42.3, it fails to build with 4.8

OBS-URL: https://build.opensuse.org/request/show/643140
OBS-URL: https://build.opensuse.org/package/show/KDE:Frameworks5/kactivities-stats?expand=0&rev=76
This commit is contained in:
Luca Beltrame 2018-10-19 19:46:07 +00:00 committed by Git OBS Bridge
parent a25c5e1094
commit 53f5bdd325
2 changed files with 12 additions and 0 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Fri Oct 19 09:03:09 UTC 2018 - wbauer@tmo.at
- Use gcc7 on Leap 42.3, it fails to build with 4.8
-------------------------------------------------------------------
Tue Oct 16 08:01:47 UTC 2018 - Luca Beltrame <lbeltrame@kde.org>

View File

@ -45,6 +45,8 @@ BuildRequires: cmake(Qt5Sql) >= 5.3.0
BuildRequires: libboost_headers-devel
%else
BuildRequires: boost-devel
# It does not build with the default compiler (GCC 4.8) on Leap 42.x
BuildRequires: gcc7-c++
%endif
%description
@ -72,6 +74,11 @@ Development files.
%setup -q -n kactivities-stats-%{version}
%build
%if 0%{?suse_version} <= 1325
# It does not build with the default compiler (GCC 4.8) on Leap 42.x
export CC=gcc-7
export CXX=g++-7
%endif
%cmake_kf5 -d build
%make_jobs