use devtoolset-7 on rhel7

workaround
https://bugs.kde.org/show_bug.cgi?id=395156
epel9
Rex Dieter 7 years ago
parent 65e93dbcc8
commit dfe4ec3e7c

@ -45,6 +45,12 @@ BuildRequires: appstream
BuildRequires: xorg-x11-server-Xvfb
%endif
# workaround https://bugs.kde.org/show_bug.cgi?id=395156
%if 0%{?rhel}==7
BuildRequires: devtoolset-7-toolchain
BuildRequires: devtoolset-7-gcc-c++
%endif
Requires: qt5-qtquickcontrols%{?_isa}
Requires: qt5-qtquickcontrols2%{?_isa}
@ -65,6 +71,9 @@ developing applications that use %{name}.
%build
%if 0%{?rhel}==7
. /opt/rh/devtoolset-7/enable
%endif
mkdir %{_target_platform}
pushd %{_target_platform}
%{cmake_kf5} .. \

Loading…
Cancel
Save