iyzsong pushed a commit to branch master
in repository guix.
commit 9393ce89ab967823ef693915ed30d4d04a8fc818
Author: 宋文武 <[email protected]>
AuthorDate: Sun Aug 20 18:38:49 2023 +0800
gnu: alex4: Fix build.
* gnu/packages/games.scm (alex4)[arguments]: Add '-fcommon' to CFLAGS.
---
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 10a3b919ba..7cc9205959 100644
--- a/gnu/packages/games.scm
+++ b/gnu/packages/games.scm
@@ -430,7 +430,7 @@ mouse and joystick control, and original music.")
`(#:tests? #f ; no check target
#:make-flags
(list "CC=gcc"
- "CFLAGS=-D_FILE_OFFSET_BITS=64"
+ "CFLAGS=-D_FILE_OFFSET_BITS=64 -fcommon"
(string-append "PREFIX=" (assoc-ref %outputs "out")))
#:phases
(modify-phases %standard-phases