summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
author Matteo Bernardini <ponce@slackbuilds.org>2022-02-03 20:41:28 +0100
committer Willy Sudiarto Raharjo <willysr@slackbuilds.org>2022-02-04 17:53:42 +0700
commit3e41b817cfd3baaac82bb40d11a6ee6e9d55ef39 (patch)
treeba817aa3cf145ca9f32f77cef92ecb289afed7d5
parenta2b6d5a5d4501046e860230092823865330970ea (diff)
downloadslackbuilds-3e41b817cfd3baaac82bb40d11a6ee6e9d55ef39.tar.gz
slackbuilds-3e41b817cfd3baaac82bb40d11a6ee6e9d55ef39.tar.xz
libraries/ucommon: 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>
-rw-r--r--libraries/ucommon/ucommon.SlackBuild2
1 files changed, 1 insertions, 1 deletions
diff --git a/libraries/ucommon/ucommon.SlackBuild b/libraries/ucommon/ucommon.SlackBuild
index c1d642c47b..4a5bbd0550 100644
--- a/libraries/ucommon/ucommon.SlackBuild
+++ b/libraries/ucommon/ucommon.SlackBuild
@@ -84,7 +84,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} \