diff options
author | Matteo Bernardini <ponce@slackbuilds.org> | 2022-02-03 19:25:20 +0100 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2022-02-04 17:53:40 +0700 |
commit | 70a5ce79b81a0a150039ccbe146eeaa8b6c757b8 (patch) | |
tree | d88ace56870b41859642c7aec901bb443a39bdfe /libraries/log4shib | |
parent | c5dd3f7a9751309f517e6e3d8d48de0c5d2afd1a (diff) |
libraries/log4shib: 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/log4shib')
-rw-r--r-- | libraries/log4shib/log4shib.SlackBuild | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libraries/log4shib/log4shib.SlackBuild b/libraries/log4shib/log4shib.SlackBuild index 8c0fadefe156..341c0ecd3bd3 100644 --- a/libraries/log4shib/log4shib.SlackBuild +++ b/libraries/log4shib/log4shib.SlackBuild @@ -80,7 +80,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} \ |