[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
branch core-updates-frozen updated: gnu: mupen64plus-core: Add -fcommon
From: |
guix-commits |
Subject: |
branch core-updates-frozen updated: gnu: mupen64plus-core: Add -fcommon to CFLAGS. |
Date: |
Mon, 22 Nov 2021 16:41:40 -0500 |
This is an automated email from the git hooks/post-receive script.
rekado pushed a commit to branch core-updates-frozen
in repository guix.
The following commit(s) were added to refs/heads/core-updates-frozen by this
push:
new 3e678de gnu: mupen64plus-core: Add -fcommon to CFLAGS.
3e678de is described below
commit 3e678de04c86b99d4a7c0128a975e40a3a59f2cc
Author: Ricardo Wurmus <rekado@elephly.net>
AuthorDate: Mon Nov 22 22:40:00 2021 +0100
gnu: mupen64plus-core: Add -fcommon to CFLAGS.
* gnu/packages/emulators.scm (mupen64plus-core)[arguments]: Replace
'configure
phase to patch Makefile; remove trailing #T from 'chdir-to-project-directory
phase.
---
gnu/packages/emulators.scm | 13 +++++++------
1 file changed, 7 insertions(+), 6 deletions(-)
diff --git a/gnu/packages/emulators.scm b/gnu/packages/emulators.scm
index 407e9be..5559b2e 100644
--- a/gnu/packages/emulators.scm
+++ b/gnu/packages/emulators.scm
@@ -842,13 +842,14 @@ from an emulator---from save states to scaling filters.")
'(#:phases
(modify-phases %standard-phases
;; The mupen64plus build system has no configure phase.
- (delete 'configure)
+ (replace 'configure
+ (lambda _
+ (substitute* "projects/unix/Makefile"
+ (("\\$\\(CFLAGS\\)")
+ "$(CFLAGS) -fcommon"))))
;; Makefile is in a subdirectory.
- (add-before
- 'build 'chdir-to-project-directory
- (lambda _
- (chdir "projects/unix")
- #t)))
+ (add-before 'build 'chdir-to-project-directory
+ (lambda _ (chdir "projects/unix"))))
#:make-flags (let ((out (assoc-ref %outputs "out")))
(list "all" (string-append "PREFIX=" out)))
;; There are no tests.
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- branch core-updates-frozen updated: gnu: mupen64plus-core: Add -fcommon to CFLAGS.,
guix-commits <=