gnu: mdadm: Update to 4.0.

* gnu/packages/linux.scm (mdadm): Update to 4.0.
[arguments]: Add "CC=gcc" to #:make-flags.
This commit is contained in:
Ludovic Courtès 2017-01-31 23:48:59 +01:00
parent 4fc6985c1c
commit fae88ae884
No known key found for this signature in database
GPG key ID: 090B11993D9AEBB5

View file

@ -2467,7 +2467,7 @@ (define-public libiec61883
(define-public mdadm (define-public mdadm
(package (package
(name "mdadm") (name "mdadm")
(version "3.4") (version "4.0")
(source (origin (source (origin
(method url-fetch) (method url-fetch)
(uri (string-append (uri (string-append
@ -2475,13 +2475,14 @@ (define-public mdadm
version ".tar.xz")) version ".tar.xz"))
(sha256 (sha256
(base32 (base32
"0248v9f28mrbwabl94ck22gfim29sqhkf70wrpfi52nk4x3bxl17")))) "1ad3mma641946wn5lsllwf0lifw9lps34fv1nnkhyfpd9krffshx"))))
(build-system gnu-build-system) (build-system gnu-build-system)
(inputs (inputs
`(("udev" ,eudev))) `(("udev" ,eudev)))
(arguments (arguments
`(#:make-flags (let ((out (assoc-ref %outputs "out"))) `(#:make-flags (let ((out (assoc-ref %outputs "out")))
(list "INSTALL=install" (list "CC=gcc"
"INSTALL=install"
"CHECK_RUN_DIR=0" "CHECK_RUN_DIR=0"
;; TODO: tell it where to find 'sendmail' ;; TODO: tell it where to find 'sendmail'
;; (string-append "MAILCMD=" <???> "/sbin/sendmail") ;; (string-append "MAILCMD=" <???> "/sbin/sendmail")