diff options
author | Matteo Bernardini <ponce@slackbuilds.org> | 2021-08-29 10:37:26 +0200 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2021-08-30 06:55:50 +0700 |
commit | 7e9fcf18b2ea7bb8ef5e5a09406df25fdf42b579 (patch) | |
tree | 28a777d751b02dff67d0b60b735ee59a3871d3da /libraries | |
parent | 22af4bd8682407b5aca5ce408b41653947b63179 (diff) |
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')
-rw-r--r-- | libraries/htmlcxx/htmlcxx.SlackBuild | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libraries/htmlcxx/htmlcxx.SlackBuild b/libraries/htmlcxx/htmlcxx.SlackBuild index bb44ebceb5d1..8f0494f2e8d3 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} \ |