[PATCH] gnu: tetrinet: Fix build.

  • Done
  • quality assurance status badge
Details
One participant
  • iyzsong
Owner
unassigned
Submitted by
iyzsong
Severity
normal
I
I
iyzsong wrote on 20 Aug 2023 13:21
(address . guix-patches@gnu.org)(name . ???)(address . iyzsong@member.fsf.org)
d06c6345a876b83621405c6d3f46ae1a088a571a.1692530487.git.iyzsong@member.fsf.org
From: ??? <iyzsong@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(-)

Toggle diff (18 lines)
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
?
(address . 65404-done@debbugs.gnu.org)
87sf8axbo7.fsf@envs.net
Pushed now, closing.
Closed
?