summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
author Matteo Bernardini2022-05-09 21:19:14 +0200
committer Matteo Bernardini2022-11-19 09:25:30 +0100
commit665d602865d9dbe2bbfd04996b78dd7d6e395551 (patch)
tree60f8c032411b0abd7b0cec7ed86b77cf1ffa71fc
parentb54a7d46399fd01b3bf2adc2d1b4a2b429d3c6c4 (diff)
downloadslackbuilds-warzone2100.tar.gz
games/warzone2100: Disable some warnings-as-errors.warzone2100
Needed by gcc >= 12.x Signed-off-by: Matteo Bernardini <ponce@slackbuilds.org>
-rw-r--r--games/warzone2100/warzone2100.SlackBuild2
1 files changed, 1 insertions, 1 deletions
diff --git a/games/warzone2100/warzone2100.SlackBuild b/games/warzone2100/warzone2100.SlackBuild
index fa26f076cf..a8a08333d3 100644
--- a/games/warzone2100/warzone2100.SlackBuild
+++ b/games/warzone2100/warzone2100.SlackBuild
@@ -92,7 +92,7 @@ mkdir -p build
cd build
cmake \
-DCMAKE_C_FLAGS:STRING="$SLKCFLAGS" \
- -DCMAKE_CXX_FLAGS:STRING="$SLKCFLAGS" \
+ -DCMAKE_CXX_FLAGS:STRING="$SLKCFLAGS -Wno-error=alloc-zero -Wno-error=array-bounds" \
-DCMAKE_INSTALL_PREFIX=/usr \
-DCMAKE_BUILD_TYPE=Release \
-DCMAKE_INSTALL_MANDIR=/usr/man \