Require g++ 4.7 on sles11sp3

refs #8842
fixes #9559
This commit is contained in:
Michael Friedrich 2015-07-05 15:10:43 +02:00
parent 768dbca7f9
commit b578faa876
2 changed files with 6 additions and 1 deletions

View File

@ -20,7 +20,7 @@ parentheses):
* cmake
* GNU make (make)
* C++ compiler (gcc-c++ on RHEL, build-essential on Debian)
* C++ compiler (gcc-c++ >= 4.7 on RHEL/SUSE, build-essential on Debian, alternatively clang++)
* OpenSSL library and header files (openssl-devel on RHEL, libssl-dev on Debian)
* Boost library and header files (boost-devel on RHEL, libboost-all-dev on Debian)
* GNU bison (bison)

View File

@ -93,8 +93,13 @@ BuildRequires: libyajl-devel
BuildRequires: libedit-devel
BuildRequires: ncurses-devel
BuildRequires: openssl-devel
"%{_vendor}" == "suse" && 0%{?suse_version} < 1310
BuildRequires: gcc47-c++
BuildRequires: libstdc++47-devel
%else
BuildRequires: gcc-c++
BuildRequires: libstdc++-devel
%endif
BuildRequires: cmake
BuildRequires: flex >= 2.5.35
BuildRequires: bison