diff options
author | Matteo Bernardini <ponce@slackbuilds.org> | 2021-11-24 21:28:31 +0100 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2021-11-25 09:46:39 +0700 |
commit | c240b083530e896cdc24bafdc6c458516c4c32b4 (patch) | |
tree | 36f04792f3f9a0bee46a6111a36e687ccf5f3eab /system/nut | |
parent | 523d815b26e2e0892b9e0d891efd90dc2f63b3be (diff) |
system/nut: Use the C++14 standard.
gcc >= 11.x defaults to -std=gnu++17 and it breaks the build
in this case: thanks to sairum on LQ
Signed-off-by: Matteo Bernardini <ponce@slackbuilds.org>
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'system/nut')
-rw-r--r-- | system/nut/nut.SlackBuild | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/system/nut/nut.SlackBuild b/system/nut/nut.SlackBuild index 5fcf4359ab5d..2bfb6ce88de7 100644 --- a/system/nut/nut.SlackBuild +++ b/system/nut/nut.SlackBuild @@ -96,7 +96,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} \ |