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 a762323  gnu: gnumach: Add -fcommon to GCC flags.
a762323 is described below

commit a76232340a74c3d19d3062b2eab4244eb11b2b7b
Author: Ricardo Wurmus <[email protected]>
AuthorDate: Thu Sep 30 22:32:07 2021 +0200

    gnu: gnumach: Add -fcommon to GCC flags.
    
    * gnu/packages/hurd.scm (gnumach)[arguments]: Add -fcommon GCC flag.
---
 gnu/packages/hurd.scm | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/gnu/packages/hurd.scm b/gnu/packages/hurd.scm
index 7a1827a..0743bf2 100644
--- a/gnu/packages/hurd.scm
+++ b/gnu/packages/hurd.scm
@@ -301,6 +301,8 @@ Hurd-minimal package which are needed for both glibc and 
GCC.")
     (name "gnumach")
     (arguments
      (substitute-keyword-arguments (package-arguments gnumach-headers)
+       ((#:make-flags flags ''())
+        `(cons "CFLAGS=-fcommon" ,flags))
        ((#:configure-flags flags ''())
         `(cons "--enable-kdb" ,flags))            ;enable kernel debugger
        ((#:phases phases '%standard-phases)
@@ -310,8 +312,7 @@ Hurd-minimal package which are needed for both glibc and 
GCC.")
                (let* ((out  (assoc-ref outputs "out"))
                       (boot (string-append out "/boot")))
                  (invoke "make" "gnumach.gz")
-                 (install-file "gnumach.gz" boot)
-                 #t)))))))
+                 (install-file "gnumach.gz" boot))))))))
     (native-inputs
      `(("mig" ,mig)
        ("perl" ,perl)

Reply via email to