gnu: mdadm-static: Fix build.

This follows up on commit 3d7a1b84c5.

* gnu/packages/linux.scm (mdadm-static)[arguments]:
Add "-DNO_LIBUDEV" to CXFLAGS.
This commit is contained in:
Tobias Geerinckx-Rice 2022-01-06 17:10:34 +01:00
parent 55bf2d31e9
commit 2860bb2779
No known key found for this signature in database
GPG key ID: 0DB0FF884F556D79

View file

@ -5078,7 +5078,9 @@ (define-public mdadm-static
(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