diff options
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 |
commit | 3e41b817cfd3baaac82bb40d11a6ee6e9d55ef39 (patch) | |
tree | ba817aa3cf145ca9f32f77cef92ecb289afed7d5 /libraries/ucommon | |
parent | a2b6d5a5d4501046e860230092823865330970ea (diff) |
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>
Diffstat (limited to 'libraries/ucommon')
-rw-r--r-- | libraries/ucommon/ucommon.SlackBuild | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libraries/ucommon/ucommon.SlackBuild b/libraries/ucommon/ucommon.SlackBuild index c1d642c47b6e3..4a5bbd0550ffd 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} \ |