summaryrefslogtreecommitdiff
path: root/libraries/xmltooling
diff options
context:
space:
mode:
authorMatteo Bernardini <ponce@slackbuilds.org>2022-02-03 19:25:49 +0100
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2022-02-04 17:53:40 +0700
commit971871e1a91eb4613a374061ab6439312b589c08 (patch)
tree3e844b13674bc0bd5e9329acbadd36fdd5c6b1e4 /libraries/xmltooling
parent70a5ce79b81a0a150039ccbe146eeaa8b6c757b8 (diff)
downloadslackbuilds-971871e1a91eb4613a374061ab6439312b589c08.tar.gz
libraries/xmltooling: 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/xmltooling')
-rw-r--r--libraries/xmltooling/xmltooling.SlackBuild2
1 files changed, 1 insertions, 1 deletions
diff --git a/libraries/xmltooling/xmltooling.SlackBuild b/libraries/xmltooling/xmltooling.SlackBuild
index 7584648e34..85175d5e09 100644
--- a/libraries/xmltooling/xmltooling.SlackBuild
+++ b/libraries/xmltooling/xmltooling.SlackBuild
@@ -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} \