From 2c9bc98a29f5c9e6328eaa926eb1ae023f3e8f07 Mon Sep 17 00:00:00 2001 From: Andrew Clemons Date: Sun, 23 Jan 2022 16:23:30 +1300 Subject: 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 Signed-off-by: Willy Sudiarto Raharjo --- games/cyphesis/cyphesis.SlackBuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'games') 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} \ -- cgit v1.2.3