summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
author Andrew Clemons2022-01-23 04:23:30 +0100
committer Willy Sudiarto Raharjo2022-01-25 08:44:40 +0100
commit2c9bc98a29f5c9e6328eaa926eb1ae023f3e8f07 (patch)
tree412d5ceb1e2abecae11e93eb5f53249ea95f2df6
parent6913a913fd20f85c58c2a2ff91619c62e0370613 (diff)
downloadslackbuilds-2c9bc98a29f5c9e6328eaa926eb1ae023f3e8f07.tar.gz
games/cyphesis: 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>
-rw-r--r--games/cyphesis/cyphesis.SlackBuild2
1 files changed, 1 insertions, 1 deletions
diff --git a/games/cyphesis/cyphesis.SlackBuild b/games/cyphesis/cyphesis.SlackBuild
index e6f3e25d3c..2070421837 100644
--- a/games/cyphesis/cyphesis.SlackBuild
+++ b/games/cyphesis/cyphesis.SlackBuild
@@ -84,7 +84,7 @@ patch -p0 < $CWD/cyphesis-0.6.2-pg10.patch
autoreconf -vif
CFLAGS="$SLKCFLAGS" \
-CXXFLAGS="$SLKCFLAGS" \
+CXXFLAGS="$SLKCFLAGS -std=c++14 -fpermissive" \
./configure \
--prefix=/usr \
--libdir=/usr/lib${LIBDIRSUFFIX} \