From 3139fc16121bdf9944fe1cf98fa150fa2fa7fb78 Mon Sep 17 00:00:00 2001 From: Jan Palus Date: Wed, 21 Jul 2021 01:33:37 +0200 Subject: [PATCH] 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 \ -- 2.44.0