[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
03/07: gnu: blastem: Fix build.
From: |
guix-commits |
Subject: |
03/07: gnu: blastem: Fix build. |
Date: |
Thu, 16 Sep 2021 04:47:40 -0400 (EDT) |
glv pushed a commit to branch core-updates-frozen
in repository guix.
commit bbdc4d73476bdf81842e09fd99dd843c22a0b53a
Author: Guillaume Le Vaillant <glv@posteo.net>
AuthorDate: Thu Sep 16 10:28:05 2021 +0200
gnu: blastem: Fix build.
* gnu/packages/emulators.scm (blastem)[arguments]: Update 'fix-source' phase
to add '-fcommon' to CFLAGS.
---
gnu/packages/emulators.scm | 6 +++++-
1 file changed, 5 insertions(+), 1 deletion(-)
diff --git a/gnu/packages/emulators.scm b/gnu/packages/emulators.scm
index 754aa68..c992ba5 100644
--- a/gnu/packages/emulators.scm
+++ b/gnu/packages/emulators.scm
@@ -16,6 +16,7 @@
;;; Copyright © 2021 Felipe Balbi <balbi@kernel.org>
;;; Copyright © 2021 Felix Gruber <felgru@posteo.net>
;;; Copyright © 2021 Maxim Cournoyer <maxim.cournoyer@gmail.com>
+;;; Copyright © 2021 Guillaume Le Vaillant <glv@posteo.net>
;;;
;;; This file is part of GNU Guix.
;;;
@@ -183,7 +184,10 @@ SuperCPU.")
(add-after 'unpack 'fix-source
(lambda _
(substitute* (find-files "." ".*\\.[ch]")
- (("\"zlib/zlib.h\"") "<zlib.h>"))))
+ (("\"zlib/zlib.h\"") "<zlib.h>"))
+ (substitute* "Makefile"
+ (("CFLAGS:=-std=gnu99" all)
+ (string-append all " -fcommon")))))
(delete 'configure)
(replace 'install
(lambda* args
- branch core-updates-frozen updated (b3ee04c -> 923c252), guix-commits, 2021/09/16
- 01/07: gnu: arcan: Fix build., guix-commits, 2021/09/16
- 03/07: gnu: blastem: Fix build.,
guix-commits <=
- 02/07: gnu: aris: Fix build., guix-commits, 2021/09/16
- 04/07: gnu: crispy-doom: Fix build., guix-commits, 2021/09/16
- 05/07: gnu: geeqie: Fix build., guix-commits, 2021/09/16
- 06/07: gnu: glabels: Fix build., guix-commits, 2021/09/16
- 07/07: gnu: gmtp: Fix build., guix-commits, 2021/09/16