[packages/aMule] force older version of c++ standard

atler atler at pld-linux.org
Wed Jul 21 01:36:07 CEST 2021


commit 3139fc16121bdf9944fe1cf98fa150fa2fa7fb78
Author: Jan Palus <atler at pld-linux.org>
Date:   Wed Jul 21 01:33:37 2021 +0200

    force older version of c++ standard
    
    c++ 17 (default in gcc 11) introduces symbol conflict with this dated
    codebase. Use default which gcc 7 used (released around the same time as
    last aMule version).

 aMule.spec | 1 +
 1 file changed, 1 insertion(+)
---
diff --git a/aMule.spec b/aMule.spec
index 0a6a272..bbc68fe 100644
--- a/aMule.spec
+++ b/aMule.spec
@@ -106,6 +106,7 @@ Narzędzie do generownia statystyk aMule.
 %{__autoconf}
 %{__autoheader}
 %{__automake}
+export CXXFLAGS="%{rpmcxxflags} -std=gnu++14"
 %configure \
 	--with-denoise-level=1				\
 	--with-libpng-config=/usr/bin/libpng-config	\
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/aMule.git/commitdiff/3139fc16121bdf9944fe1cf98fa150fa2fa7fb78



More information about the pld-cvs-commit mailing list