summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatteo Bernardini <ponce@slackbuilds.org>2021-08-16 11:15:22 +0200
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2021-08-19 18:33:46 +0700
commit4360281af550f31d06a3234e72e63e4015e011c2 (patch)
treec75fa3c90cc0df75f0567958c8aa14e1bb240b13
parentd2a6b3e4d49205a14263268ca1923f831df3d5cd (diff)
downloadslackbuilds-4360281af550f31d06a3234e72e63e4015e011c2.tar.gz
libraries/libmusicbrainz: Use the C++14 standard.
gcc >= 11.x defaults to -std=gnu++17 and this breaks the build in this case Signed-off-by: Matteo Bernardini <ponce@slackbuilds.org> Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
-rw-r--r--libraries/libmusicbrainz/libmusicbrainz.SlackBuild2
1 files changed, 1 insertions, 1 deletions
diff --git a/libraries/libmusicbrainz/libmusicbrainz.SlackBuild b/libraries/libmusicbrainz/libmusicbrainz.SlackBuild
index 6d2ce1125b..87f12ba05f 100644
--- a/libraries/libmusicbrainz/libmusicbrainz.SlackBuild
+++ b/libraries/libmusicbrainz/libmusicbrainz.SlackBuild
@@ -62,7 +62,7 @@ find -L . \
patch -p1 < $CWD/libmusicbrainz-2.1.5-include_stringh.patch
CFLAGS="$SLKCFLAGS" \
-CXXFLAGS="$SLKCFLAGS -Wno-narrowing" \
+CXXFLAGS="$SLKCFLAGS -std=gnu++14 -Wno-narrowing" \
./configure \
--prefix=/usr \
--libdir=/usr/lib${LIBDIRSUFFIX} \