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

icinga2.spec: drop now not supported GCC 4.8

parent 8f4d0293
No related branches found
No related tags found
1 merge request!39Use GCC 11 on CentOS 7
...@@ -118,15 +118,9 @@ BuildRequires: libyajl-devel ...@@ -118,15 +118,9 @@ BuildRequires: libyajl-devel
%endif %endif
BuildRequires: libedit-devel BuildRequires: libedit-devel
BuildRequires: ncurses-devel BuildRequires: ncurses-devel
%if "%{_vendor}" == "suse" && 0%{?suse_version} < 1210
BuildRequires: gcc48-c++
BuildRequires: libopenssl1-devel
BuildRequires: libstdc++48-devel
%else
BuildRequires: gcc-c++ BuildRequires: gcc-c++
BuildRequires: libstdc++-devel BuildRequires: libstdc++-devel
BuildRequires: openssl-devel BuildRequires: openssl-devel
%endif
BuildRequires: bison BuildRequires: bison
BuildRequires: cmake BuildRequires: cmake
BuildRequires: flex >= 2.5.35 BuildRequires: flex >= 2.5.35
...@@ -416,12 +410,6 @@ CMAKE_OPTS="$CMAKE_OPTS ...@@ -416,12 +410,6 @@ CMAKE_OPTS="$CMAKE_OPTS
CMAKE_OPTS="$CMAKE_OPTS -DUSE_SYSTEMD=ON" CMAKE_OPTS="$CMAKE_OPTS -DUSE_SYSTEMD=ON"
%endif %endif
%if "%{_vendor}" == "suse" && 0%{?suse_version} < 1210
# from package gcc48-c++
export CC=gcc-4.8
export CXX=g++-4.8
%endif
%if "%{?_buildhost}" != "" %if "%{?_buildhost}" != ""
CMAKE_OPTS="$CMAKE_OPTS -DICINGA2_BUILD_HOST_NAME:STRING=%_buildhost" CMAKE_OPTS="$CMAKE_OPTS -DICINGA2_BUILD_HOST_NAME:STRING=%_buildhost"
%endif %endif
......
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