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

SLES 12.5: require gcc11-c++

parent c53f23d6
No related branches found
No related tags found
No related merge requests found
Pipeline #23113 canceled
......@@ -131,9 +131,14 @@ BuildRequires: %{scl_name}-binutils
BuildRequires: %{scl_name}-gcc-c++
BuildRequires: %{scl_name}-libstdc++-devel
%else
%if "%{_vendor}" == "suse" && 0%{?suse_version} >= 1315 && 0%{?suse_version} < 1500
BuildRequires: gcc11-c++
BuildRequires: libstdc++6-devel-gcc11
%else
BuildRequires: gcc-c++
BuildRequires: libstdc++-devel
%endif
%endif
BuildRequires: openssl-devel
%endif
BuildRequires: bison
......@@ -430,6 +435,11 @@ CMAKE_OPTS="$CMAKE_OPTS -DUSE_SYSTEMD=ON"
export CC=gcc-4.8
export CXX=g++-4.8
%endif
%if "%{_vendor}" == "suse" && 0%{?suse_version} >= 1315 && 0%{?suse_version} < 1500
# from package gcc11-c++
export CC=gcc-11
export CXX=g++-11
%endif
%if "%{?_buildhost}" != ""
CMAKE_OPTS="$CMAKE_OPTS -DICINGA2_BUILD_HOST_NAME:STRING=%_buildhost"
......
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