civodul pushed a commit to branch core-updates-frozen
in repository guix.
commit 83010a08bc7347d0969fa0acea2cd9ab421ed6d5
Author: Ludovic Courtès <[email protected]>
AuthorDate: Sat Nov 20 22:25:04 2021 +0100
gnu: grafx2: Build with '-fcommon'.
* gnu/packages/game-development.scm (grafx2)[arguments]: Add '-fcommon'
to #:make-flags.
---
gnu/packages/game-development.scm | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/gnu/packages/game-development.scm
b/gnu/packages/game-development.scm
index fd504b1..6aef263 100644
--- a/gnu/packages/game-development.scm
+++ b/gnu/packages/game-development.scm
@@ -1625,7 +1625,8 @@ also comes with a built-in image and sound editor.")
;; SDL header files are referenced without the preceeding "SDL/".
(list (string-append "CFLAGS=-I"
(assoc-ref %build-inputs "sdl-union")
- "/include/SDL")
+ "/include/SDL"
+ " -fcommon")
(string-append "prefix="
(assoc-ref %outputs "out")))
#:tests? #f)) ; no check target