This commit is contained in:
parent
afdfe568e8
commit
92569d3d59
@ -184,6 +184,16 @@ service.
|
|||||||
%setup -q -n %{rname}-%{version}
|
%setup -q -n %{rname}-%{version}
|
||||||
|
|
||||||
%build
|
%build
|
||||||
|
%if 0%{?suse_version} < 1330
|
||||||
|
# It does not build with the default compiler (GCC 4.8) on Leap 42.x
|
||||||
|
%if 0%{?sle_version} < 120300
|
||||||
|
export CC=gcc-6
|
||||||
|
export CXX=g++-6
|
||||||
|
%else
|
||||||
|
export CC=gcc-7
|
||||||
|
export CXX=g++-7
|
||||||
|
%endif
|
||||||
|
%endif
|
||||||
%cmake_kf5 -d build -- -DINSTALL_QSQLITE_IN_QT_PREFIX=TRUE -DQT_PLUGINS_DIR=%{_kf5_plugindir}
|
%cmake_kf5 -d build -- -DINSTALL_QSQLITE_IN_QT_PREFIX=TRUE -DQT_PLUGINS_DIR=%{_kf5_plugindir}
|
||||||
%make_jobs
|
%make_jobs
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user