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>
This commit is contained in:
Andrew Clemons 2022-01-23 16:23:30 +13:00 committed by Willy Sudiarto Raharjo
parent 6913a913fd
commit 2c9bc98a29
No known key found for this signature in database
GPG key ID: 3F617144D7238786

View file

@ -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} \