guix-commits
[Top][All Lists]
Advanced

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

01/02: gnu: freedroidrpg: Fix build with GCC 10.


From: guix-commits
Subject: 01/02: gnu: freedroidrpg: Fix build with GCC 10.
Date: Mon, 17 Jan 2022 19:03:58 -0500 (EST)

nckx pushed a commit to branch master
in repository guix.

commit ab5d31c53eb06ced0873599a98c74dba80b46b1e
Author: Tobias Geerinckx-Rice <me@tobias.gr>
AuthorDate: Sun Jan 16 01:00:00 2022 +0100

    gnu: freedroidrpg: Fix build with GCC 10.
    
    * gnu/packages/games.scm (freedroidrpg)[arguments]: Add ‘-fcommon’
    to #:configure-flags' CFLAGS.
---
 gnu/packages/games.scm | 1 +
 1 file changed, 1 insertion(+)

diff --git a/gnu/packages/games.scm b/gnu/packages/games.scm
index dab1d797e0..3e5cb7ae95 100644
--- a/gnu/packages/games.scm
+++ b/gnu/packages/games.scm
@@ -1363,6 +1363,7 @@ effects and music to make a completely free game.")
      `(#:configure-flags
        (list
         (string-append "CFLAGS="
+                       "-fcommon "      ; XXX needed to build with GCC 10
                        "-I" (assoc-ref %build-inputs "sdl-gfx") "/include/SDL "
                        "-I" (assoc-ref %build-inputs "sdl-image") 
"/include/SDL "
                        "-I" (assoc-ref %build-inputs "sdl-mixer") 
"/include/SDL")



reply via email to

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