gnu: multipath-tools: Set CC in #:make-flags.
* gnu/packages/linux.scm (multipath-tools)[arguments]: Set ‘CC=gcc’ in #:make-flags instead of in a custom phase.
This commit is contained in:
parent
12b99f753a
commit
bd835ff22f
|
@ -2996,8 +2996,9 @@ arrays when needed.")
|
||||||
#t))))
|
#t))))
|
||||||
(build-system gnu-build-system)
|
(build-system gnu-build-system)
|
||||||
(arguments
|
(arguments
|
||||||
'(#:tests? #f ; No tests.
|
'(#:tests? #f ; no tests
|
||||||
#:make-flags (list (string-append "DESTDIR="
|
#:make-flags (list "CC=gcc"
|
||||||
|
(string-append "DESTDIR="
|
||||||
(assoc-ref %outputs "out"))
|
(assoc-ref %outputs "out"))
|
||||||
"SYSTEMDPATH=lib"
|
"SYSTEMDPATH=lib"
|
||||||
(string-append "LDFLAGS=-Wl,-rpath="
|
(string-append "LDFLAGS=-Wl,-rpath="
|
||||||
|
@ -3020,11 +3021,7 @@ arrays when needed.")
|
||||||
(("/usr/include/libudev.h")
|
(("/usr/include/libudev.h")
|
||||||
(string-append udev "/include/libudev.h")))
|
(string-append udev "/include/libudev.h")))
|
||||||
#t)))
|
#t)))
|
||||||
(delete 'configure)
|
(delete 'configure))))
|
||||||
(add-before 'build 'set-CC
|
|
||||||
(lambda _
|
|
||||||
(setenv "CC" "gcc")
|
|
||||||
#t)))))
|
|
||||||
(native-inputs
|
(native-inputs
|
||||||
`(("perl" ,perl)
|
`(("perl" ,perl)
|
||||||
("pkg-config" ,pkg-config)
|
("pkg-config" ,pkg-config)
|
||||||
|
|
Loading…
Reference in New Issue