summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
author Matteo Bernardini2022-05-09 21:19:14 +0200
committer Matteo Bernardini2022-07-02 07:31:40 +0200
commit9e5e23766d23fb1569964bd1ffeeebfac3f42c1f (patch)
tree84151809258e77079f85e660c6b1a29d7afc7914
parent09029cfd6e379e05106b2adbe352bc8230c26673 (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 8cf0d36841..9de41a1968 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 \