Skip to content

Commit

Permalink
gmp-static: remove cms_cxx and cms_cxxflags macros
Browse files Browse the repository at this point in the history
The package should choose which C++ standard to support. Starting GCC 6
the default is C++14 for C++ and C11 for C language. This does not
affect ABI, but might affect behavior.

Signed-off-by: David Abdurachmanov <David.Abdurachmanov@cern.ch>
  • Loading branch information
David Abdurachmanov authored and David Abdurachmanov committed Apr 5, 2016
1 parent 3af66b5 commit 1430e98
Showing 1 changed file with 1 addition and 11 deletions.
12 changes: 1 addition & 11 deletions gmp-static.spec
Original file line number Diff line number Diff line change
Expand Up @@ -7,14 +7,6 @@ BuildRequires: autotools
%define keep_archives true
%define drop_files %{i}/share

%if "%{?cms_cxx:set}" != "set"
%define cms_cxx g++
%endif

%if "%{?cms_cxxflags:set}" != "set"
%define cms_cxxflags -std=c++11
%endif

%prep
%setup -n gmp-%{realversion}

Expand All @@ -26,9 +18,7 @@ BuildRequires: autotools
--disable-shared \
--enable-static \
--enable-cxx \
--with-pic \
CXX="%{cms_cxx}" \
CXXFLAGS="%{cms_cxxflags}"
--with-pic

make %{makeprocesses}

Expand Down

0 comments on commit 1430e98

Please sign in to comment.