libraries/log4shib: 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>
This commit is contained in:
Matteo Bernardini 2022-02-03 19:25:20 +01:00 committed by Willy Sudiarto Raharjo
parent c5dd3f7a97
commit 70a5ce79b8
No known key found for this signature in database
GPG key ID: 3F617144D7238786

View file

@ -80,7 +80,7 @@ find -L . \
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS -std=c++14" \
./configure \
--prefix=/usr \
--libdir=/usr/lib${LIBDIRSUFFIX} \