guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

branch master updated: gnu: mdadm-static: Fix build.


From: guix-commits
Subject: branch master updated: gnu: mdadm-static: Fix build.
Date: Thu, 06 Jan 2022 11:11:01 -0500

This is an automated email from the git hooks/post-receive script.

nckx pushed a commit to branch master
in repository guix.

The following commit(s) were added to refs/heads/master by this push:
     new 2860bb2779 gnu: mdadm-static: Fix build.
2860bb2779 is described below

commit 2860bb2779dbc557ab5362b531d9f497f34b41d8
Author: Tobias Geerinckx-Rice <me@tobias.gr>
AuthorDate: Thu Jan 6 17:10:34 2022 +0100

    gnu: mdadm-static: Fix build.
    
    This follows up on commit 3d7a1b84c5bc3219c6076e492d6e98c27f2c1f86.
    
    * gnu/packages/linux.scm (mdadm-static)[arguments]:
    Add "-DNO_LIBUDEV" to CXFLAGS.
---
 gnu/packages/linux.scm | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/gnu/packages/linux.scm b/gnu/packages/linux.scm
index 5e75caf821..baed31a510 100644
--- a/gnu/packages/linux.scm
+++ b/gnu/packages/linux.scm
@@ -5078,7 +5078,9 @@ arrays when needed.")
     (arguments
      (substitute-keyword-arguments (package-arguments mdadm)
        ((#:make-flags flags)
-        #~(cons "LDFLAGS = -static" #$flags))
+        #~(cons* "LDFLAGS = -static"
+                 "CXFLAGS = -DNO_LIBUDEV"
+                 #$flags))
        ((#:phases phases)
         #~(modify-phases #$phases
             (add-after 'install 'remove-cruft



reply via email to

[Prev in Thread] Current Thread [Next in Thread]