diff options
author | Andrew Clemons <andrew.clemons@gmail.com> | 2022-01-23 16:19:48 +1300 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2022-01-25 14:44:40 +0700 |
commit | 6913a913fd20f85c58c2a2ff91619c62e0370613 (patch) | |
tree | d98e9e62f1739d622c1445b8da051442f6601157 /libraries/varconf | |
parent | 391fbd6eb0cacfce758399b7ab26492291345232 (diff) |
libraries/varconf: Use the C++14 standard.
gcc >= 11.x defaults to -std=gnu++17 and it breaks the build in this
case.
Signed-off-by: Andrew Clemons <andrew.clemons@gmail.com>
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'libraries/varconf')
-rw-r--r-- | libraries/varconf/varconf.SlackBuild | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libraries/varconf/varconf.SlackBuild b/libraries/varconf/varconf.SlackBuild index 7bbea0d9c27fa..faddfc5131d46 100644 --- a/libraries/varconf/varconf.SlackBuild +++ b/libraries/varconf/varconf.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} \ |