From 4360281af550f31d06a3234e72e63e4015e011c2 Mon Sep 17 00:00:00 2001 From: Matteo Bernardini Date: Mon, 16 Aug 2021 11:15:22 +0200 Subject: 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 Signed-off-by: Willy Sudiarto Raharjo --- libraries/libmusicbrainz/libmusicbrainz.SlackBuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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} \ -- cgit v1.2.3