summaryrefslogtreecommitdiff
path: root/libraries/Atlas-C++
diff options
context:
space:
mode:
authorMatteo Bernardini <ponce@slackbuilds.org>2021-08-28 15:44:29 +0200
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2021-08-30 06:55:47 +0700
commit0d4548ff99102013996c3f5b2ea4ca5d4c146c71 (patch)
tree3cef934431d53d7231d19a38194deb52f93e7465 /libraries/Atlas-C++
parentaade0589a500ef1828a448cf137bd39fe70d2aa6 (diff)
downloadslackbuilds-0d4548ff99102013996c3f5b2ea4ca5d4c146c71.tar.gz
libraries/Atlas-C++: 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/Atlas-C++')
-rw-r--r--libraries/Atlas-C++/Atlas-C++.SlackBuild2
1 files changed, 1 insertions, 1 deletions
diff --git a/libraries/Atlas-C++/Atlas-C++.SlackBuild b/libraries/Atlas-C++/Atlas-C++.SlackBuild
index ea39881ec4..d97ad0c7e9 100644
--- a/libraries/Atlas-C++/Atlas-C++.SlackBuild
+++ b/libraries/Atlas-C++/Atlas-C++.SlackBuild
@@ -80,7 +80,7 @@ find -L . \
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
CFLAGS="$SLKCFLAGS" \
-CXXFLAGS="$SLKCFLAGS -Wno-error=deprecated" \
+CXXFLAGS="$SLKCFLAGS -Wno-error=deprecated -std=c++14" \
./configure \
--prefix=/usr \
--libdir=/usr/lib${LIBDIRSUFFIX} \