From 692d13d648d98d96562ab48995ad4fc86db1f202 Mon Sep 17 00:00:00 2001 From: Marie Loise Nolden Date: Jun 17 2020 13:21:29 +0000 Subject: compile on rhel 7 --- diff --git a/qt5-qtwebengine.spec b/qt5-qtwebengine.spec index 6717995..1538803 100644 --- a/qt5-qtwebengine.spec +++ b/qt5-qtwebengine.spec @@ -326,6 +326,9 @@ Provides: bundled(fdlibm) = 5.3 %{?_qt5_version:Requires: qt5-qtbase%{?_isa} = %{_qt5_version}} +%if 0%{?rhel} == 7 +BuildRequires: devtoolset-7-toolchain +%endif %description %{summary}. @@ -449,6 +452,10 @@ cp -p src/3rdparty/chromium/LICENSE LICENSE.Chromium %build +%if 0%{?rhel} == 7 +. /opt/rh/devtoolset-7/enable +%endif + export STRIP=strip export NINJAFLAGS="%{__ninja_common_opts}" export NINJA_PATH=%{__ninja}