summaryrefslogtreecommitdiff
path: root/libraries/htmlcxx
diff options
context:
space:
mode:
authorMatteo Bernardini <ponce@slackbuilds.org>2021-08-29 10:37:26 +0200
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2021-08-30 06:55:50 +0700
commit7e9fcf18b2ea7bb8ef5e5a09406df25fdf42b579 (patch)
tree28a777d751b02dff67d0b60b735ee59a3871d3da /libraries/htmlcxx
parent22af4bd8682407b5aca5ce408b41653947b63179 (diff)
downloadslackbuilds-7e9fcf18b2ea7bb8ef5e5a09406df25fdf42b579.tar.gz
libraries/htmlcxx: 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/htmlcxx')
-rw-r--r--libraries/htmlcxx/htmlcxx.SlackBuild2
1 files changed, 1 insertions, 1 deletions
diff --git a/libraries/htmlcxx/htmlcxx.SlackBuild b/libraries/htmlcxx/htmlcxx.SlackBuild
index bb44ebceb5..8f0494f2e8 100644
--- a/libraries/htmlcxx/htmlcxx.SlackBuild
+++ b/libraries/htmlcxx/htmlcxx.SlackBuild
@@ -87,7 +87,7 @@ sed -i '/#include <cassert>/a \
#include <cstddef>' html/tree.h
CFLAGS="$SLKCFLAGS" \
-CXXFLAGS="$SLKCFLAGS" \
+CXXFLAGS="$SLKCFLAGS -std=c++14" \
./configure \
--prefix=/usr \
--libdir=/usr/lib${LIBDIRSUFFIX} \