aboutsummaryrefslogtreecommitdiff
path: root/libraries/glog
diff options
context:
space:
mode:
authorMatteo Bernardini <ponce@slackbuilds.org>2021-08-28 21:50:37 +0200
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2021-08-30 06:55:49 +0700
commit8120c842f6cc248b03c361bae8fb0b0463892985 (patch)
tree371581babcde46a97e5c15052ec297e57c7e9f7b /libraries/glog
parent742305a4b7fdbeef02823c7de55de3fa4d31f3a8 (diff)
libraries/glog: 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/glog')
-rw-r--r--libraries/glog/glog.SlackBuild2
1 files changed, 1 insertions, 1 deletions
diff --git a/libraries/glog/glog.SlackBuild b/libraries/glog/glog.SlackBuild
index 8a5b66233b48..cca337ec78e7 100644
--- a/libraries/glog/glog.SlackBuild
+++ b/libraries/glog/glog.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} \