From 2860bb2779dbc557ab5362b531d9f497f34b41d8 Mon Sep 17 00:00:00 2001 From: Tobias Geerinckx-Rice Date: Thu, 6 Jan 2022 17:10:34 +0100 Subject: [PATCH] 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