guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

03/06: gnu: cataclysm-dda: Fix build.


From: guix-commits
Subject: 03/06: gnu: cataclysm-dda: Fix build.
Date: Tue, 18 Jun 2024 22:21:48 -0400 (EDT)

iyzsong pushed a commit to branch core-updates
in repository guix.

commit ef25e38935349c52007d1ef74a9c045938e8de18
Author: 宋文武 <iyzsong@member.fsf.org>
AuthorDate: Wed Jun 19 08:58:05 2024 +0800

    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
---
 gnu/packages/games.scm | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/gnu/packages/games.scm b/gnu/packages/games.scm
index 6e3414ff93..a981221bd5 100644
--- a/gnu/packages/games.scm
+++ b/gnu/packages/games.scm
@@ -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



reply via email to

[Prev in Thread] Current Thread [Next in Thread]