summaryrefslogtreecommitdiff
path: root/libraries/flatzebra
diff options
context:
space:
mode:
authorMatteo Bernardini <ponce@slackbuilds.org>2021-08-28 21:49:34 +0200
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2021-08-30 06:55:49 +0700
commit742305a4b7fdbeef02823c7de55de3fa4d31f3a8 (patch)
treecf8f3b37793f1f6d591cfb0ddc8bd0488cdf7f9a /libraries/flatzebra
parentf90b4df3af465a384504e19ccde0cbc4f7d09948 (diff)
downloadslackbuilds-742305a4b7fdbeef02823c7de55de3fa4d31f3a8.tar.gz
libraries/flatzebra: 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 'libraries/flatzebra')
-rw-r--r--libraries/flatzebra/flatzebra.SlackBuild2
1 files changed, 1 insertions, 1 deletions
diff --git a/libraries/flatzebra/flatzebra.SlackBuild b/libraries/flatzebra/flatzebra.SlackBuild
index 5fc7b3bc88..132e6bcdce 100644
--- a/libraries/flatzebra/flatzebra.SlackBuild
+++ b/libraries/flatzebra/flatzebra.SlackBuild
@@ -65,7 +65,7 @@ find -L . \
CFLAGS="$SLKCFLAGS" \
-CXXFLAGS="$SLKCFLAGS" \
+CXXFLAGS="$SLKCFLAGS -std=c++14" \
./configure \
--prefix=/usr \
--libdir=/usr/lib${LIBDIRSUFFIX} \