gnu: multipath-tools: Treat libaio headers as system headers.
* gnu/packages/linux.scm (multipath-tools)[arguments]: Set C_INCLUDE_PATH in <#:make-flags>.
This commit is contained in:
parent
7f080fb97c
commit
5247aab8d6
|
@ -3271,6 +3271,12 @@ arrays when needed.")
|
|||
(string-append "DESTDIR="
|
||||
(assoc-ref %outputs "out"))
|
||||
"SYSTEMDPATH=lib"
|
||||
;; Add the libaio headers to GCCs system header
|
||||
;; search path to suppress -Werror=cast-qual on
|
||||
;; the included headers.
|
||||
(string-append "C_INCLUDE_PATH="
|
||||
(assoc-ref %build-inputs "libaio")
|
||||
"/include")
|
||||
(string-append "LDFLAGS=-Wl,-rpath="
|
||||
(assoc-ref %outputs "out")
|
||||
"/lib"))
|
||||
|
|
Loading…
Reference in New Issue