GNU bug report logs - #65404
[PATCH] gnu: tetrinet: Fix build.

Previous Next

Package: guix-patches;

Reported by: iyzsong <at> envs.net

Date: Sun, 20 Aug 2023 11:22:01 UTC

Severity: normal

Tags: patch

Done: 宋文武 <iyzsong <at> envs.net>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: iyzsong <at> envs.net
To: 65404 <at> debbugs.gnu.org
Cc: 宋文武 <iyzsong <at> member.fsf.org>, Liliana Marie Prikler <liliana.prikler <at> gmail.com>, 宋文武 <iyzsong <at> envs.net>
Subject: [bug#65404] [PATCH] gnu: tetrinet: Fix build.
Date: Sun, 20 Aug 2023 19:21:30 +0800
From: 宋文武 <iyzsong <at> member.fsf.org>

* gnu/packages/games.scm (tetrinet)[arguments]: Add '-fcommon' to CFLAGS.
---
 gnu/packages/games.scm | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/gnu/packages/games.scm b/gnu/packages/games.scm
index a5fa19fc20..eeba4d00f8 100644
--- a/gnu/packages/games.scm
+++ b/gnu/packages/games.scm
@@ -713,7 +713,8 @@ (define-public tetrinet
      (list ncurses))
     (arguments
      `(#:tests? #f                      ;no tests
-       #:make-flags '("CC=gcc")
+       #:make-flags '("CC=gcc"
+                      "CFLAGS=-O2 -DHAVE_IPV6 -g -Wall -fcommon")
        #:phases
        (modify-phases %standard-phases
          (delete 'configure)            ;no configure script

base-commit: ad5e4fe54a66c725dc03dedebf8e5c65723ccb74
-- 
2.41.0





This bug report was last modified 1 year and 273 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.