guix-commits
[Top][All Lists]
Advanced

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

02/06: gnu: gnugo: Fix compiling with gcc 10.


From: guix-commits
Subject: 02/06: gnu: gnugo: Fix compiling with gcc 10.
Date: Mon, 4 Oct 2021 11:19:18 -0400 (EDT)

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

commit df897e1dae8fd5b70a1ab9de53a6b1521cf2c417
Author: Guillaume Le Vaillant <glv@posteo.net>
AuthorDate: Mon Oct 4 16:57:54 2021 +0200

    gnu: gnugo: Fix compiling with gcc 10.
    
    * gnu/packages/games.scm (gnugo)[arguments]: Add '-fcommon' to CFLAGS.
---
 gnu/packages/games.scm | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/gnu/packages/games.scm b/gnu/packages/games.scm
index e279e1e..38f724a 100644
--- a/gnu/packages/games.scm
+++ b/gnu/packages/games.scm
@@ -3817,7 +3817,10 @@ either by Infocom or created using the Inform compiler.")
               (base32
                "0wkahvqpzq6lzl5r49a4sd4p52frdmphnqsfdv7gdp24bykdfs6s"))))
     (build-system gnu-build-system)
-    (inputs `(("readline" ,readline)))
+    (inputs
+     `(("readline" ,readline)))
+    (arguments
+     `(#:configure-flags '("CFLAGS=-fcommon")))
     (synopsis "Play the game of Go")
     (description
      "GNU Go is a program that plays the game of Go, in which players



reply via email to

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