summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
author Matteo Bernardini2024-05-16 17:42:27 +0200
committer Matteo Bernardini2024-06-01 14:01:54 +0200
commitc5549e5bb24993245ed4ce960e71cf12f67cf1c7 (patch)
treeff9bd83a398d735c5e13b4aba46cc89984a875a1
parenta0d1ab69c9963cb2cc62703291fae30c09d35fea (diff)
downloadslackbuilds-maelstrom.tar.gz
games/maelstrom: Add -fpermissive for gcc >= 14.x.maelstrom
Signed-off-by: Matteo Bernardini <ponce@slackbuilds.org>
-rw-r--r--games/maelstrom/maelstrom.SlackBuild2
1 files changed, 1 insertions, 1 deletions
diff --git a/games/maelstrom/maelstrom.SlackBuild b/games/maelstrom/maelstrom.SlackBuild
index 88cddc94c8..2a0fc29553 100644
--- a/games/maelstrom/maelstrom.SlackBuild
+++ b/games/maelstrom/maelstrom.SlackBuild
@@ -80,7 +80,7 @@ sed -i '/GAME_INSTALLDIR=.*games/s,/games,/share/games,' configure
# on -current (and it does no harm on 14.2 either):
sed -i 's,struct *button,struct b_utton,g' buttonlist.h
-CFLAGS="$SLKCFLAGS" \
+CFLAGS="$SLKCFLAGS -fpermissive" \
CXXFLAGS="$SLKCFLAGS" \
./configure \
--prefix=/usr \