aboutsummaryrefslogtreecommitdiff
path: root/games
diff options
context:
space:
mode:
authorAndrew Clemons <andrew.clemons@gmail.com>2022-01-23 16:23:30 +1300
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2022-01-25 14:44:40 +0700
commit2c9bc98a29f5c9e6328eaa926eb1ae023f3e8f07 (patch)
tree412d5ceb1e2abecae11e93eb5f53249ea95f2df6 /games
parent6913a913fd20f85c58c2a2ff91619c62e0370613 (diff)
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>
Diffstat (limited to 'games')
-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 e6f3e25d3c15..2070421837bb 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} \