gnu: cataclysm-dda: Fix build.

It fails with:
  cc1plus: note: unrecognized command-line option ‘-Wno-unknown-warning-option’
                 may have been intended to silence earlier diagnostics
  cc1plus: all warnings being treated as errors

* gnu/packages/games.scm (cataclysm-dda)[arguments]: Disable warnings by
pass "WARNINGS=-w" to make-flags.

Change-Id: I01fbbab6a3ecefc63056a26547f9e833f6fe8321
This commit is contained in:
宋文武 2024-06-19 08:58:05 +08:00 committed by Ludovic Courtès
parent 14093b79fd
commit d6ebfa7450
No known key found for this signature in database
GPG key ID: 090B11993D9AEBB5

View file

@ -1091,7 +1091,7 @@ (define-public cataclysm-dda
(list
#:make-flags
#~(list (string-append "PREFIX=" #$output)
"USE_HOME_DIR=1" "DYNAMIC_LINKING=1" "RELEASE=1"
"USE_HOME_DIR=1" "DYNAMIC_LINKING=1" "RELEASE=1" "WARNINGS=-w"
"LOCALIZE=1" "LANGUAGES=all")
#:phases
#~(modify-phases %standard-phases