Wolfgang Bauer 2018-07-28 15:13:32 +00:00 committed by Git OBS Bridge
parent 92569d3d59
commit a3b5fdf947

View File

@ -186,13 +186,13 @@ service.
%build %build
%if 0%{?suse_version} < 1330 %if 0%{?suse_version} < 1330
# It does not build with the default compiler (GCC 4.8) on Leap 42.x # It does not build with the default compiler (GCC 4.8) on Leap 42.x
%if 0%{?sle_version} < 120300 %if 0%{?sle_version} < 120300
export CC=gcc-6 export CC=gcc-6
export CXX=g++-6 export CXX=g++-6
%else %else
export CC=gcc-7 export CC=gcc-7
export CXX=g++-7 export CXX=g++-7
%endif %endif
%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