Skip to content
Snippets Groups Projects
Commit 055f39db authored by Alexander A. Klimov's avatar Alexander A. Klimov :sunglasses:
Browse files

CentOS 7: require devtoolset-11-gcc-c++

parent 641066ac
No related branches found
No related tags found
1 merge request!39Use GCC 11 on CentOS 7
Pipeline #23676 passed
......@@ -118,8 +118,17 @@ BuildRequires: libyajl-devel
%endif
BuildRequires: libedit-devel
BuildRequires: ncurses-devel
%if "%{_vendor}" == "redhat" && (0%{?el7} || 0%{?rhel} == 7 || "%{?dist}" == ".el7")
# Requires devtoolset-11 scl
%define scl_name devtoolset-11
%define scl_enable scl enable %{scl_name} --
BuildRequires: %{scl_name}-binutils
BuildRequires: %{scl_name}-gcc-c++
BuildRequires: %{scl_name}-libstdc++-devel
%else
BuildRequires: gcc-c++
BuildRequires: libstdc++-devel
%endif
BuildRequires: openssl-devel
BuildRequires: bison
BuildRequires: cmake
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment