mirror of
https://github.com/Ponce/slackbuilds
synced 2024-11-16 19:50:19 +01:00
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>
This commit is contained in:
parent
d2a6b3e4d4
commit
4360281af5
1 changed files with 1 additions and 1 deletions
|
@ -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} \
|
||||
|
|
Loading…
Reference in a new issue