From 6a70eb6fbd0675aeb6b51e373c96b393cf80bb1e Mon Sep 17 00:00:00 2001 From: Duncaen Date: Sun, 9 Oct 2022 20:45:29 +0200 Subject: [PATCH] retroshare: fix build with gcc>=11 --- srcpkgs/retroshare/template | 2 ++ 1 file changed, 2 insertions(+) diff --git a/srcpkgs/retroshare/template b/srcpkgs/retroshare/template index 13fe19f4d9f..e7ae4e902bd 100644 --- a/srcpkgs/retroshare/template +++ b/srcpkgs/retroshare/template @@ -19,6 +19,8 @@ homepage="https://retroshare.cc" distfiles="https://github.com/RetroShare/RetroShare/archive/v${version}.tar.gz" checksum=c545b9249ac7dbfef72a2d636bc0f8b729c7ce05f21a54dd9284b2a387592d4a +export CXXFLAGS="-std=c++14" + if [ "$XBPS_TARGET_NO_ATOMIC8" ]; then makedepends+=" libatomic-devel" fi