1
0
mirror of https://git.savannah.gnu.org/git/guix.git synced 2026-04-21 09:40:28 +02:00

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

View File

@@ -1091,7 +1091,7 @@ high a score as possible.")
(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