aboutsummaryrefslogtreecommitdiff
path: root/development/avarice
diff options
context:
space:
mode:
authorMatteo Bernardini <ponce@slackbuilds.org>2022-02-11 12:42:29 +0100
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2022-02-12 00:29:47 +0700
commit9f634a8111aecdce2d92310707e84d6b25521791 (patch)
treef0f3b0c2e2eb586ce643f084bc850cce57996ba4 /development/avarice
parentec19fe58368fe5afb721af2343cd9a8338f03332 (diff)
development/avarice: Use the C++14 standard.
gcc >= 11.x defaults to -std=gnu++17 and it breaks the build in this case Signed-off-by: Matteo Bernardini <ponce@slackbuilds.org> Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'development/avarice')
-rw-r--r--development/avarice/avarice.SlackBuild1
1 files changed, 1 insertions, 0 deletions
diff --git a/development/avarice/avarice.SlackBuild b/development/avarice/avarice.SlackBuild
index 761ccb9a324f6..bdc7352a859d7 100644
--- a/development/avarice/avarice.SlackBuild
+++ b/development/avarice/avarice.SlackBuild
@@ -66,6 +66,7 @@ rm -rf $TMP/$PRGNAM-build-$VERSION
mkdir $TMP/$PRGNAM-build-$VERSION
cd $TMP/$PRGNAM-build-$VERSION
+export CXXFLAGS="-std=c++14"
CFLAGS_FOR_BUILD="$SLKCFLAGS" \
CXXFLAGS_FOR_BUILD="$SLKCFLAGS" \
../$PRGNAM-$VERSION/configure \