mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-11-07 15:36:20 -05:00
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
1 changed files with 6 additions and 0 deletions
|
@ -3271,6 +3271,12 @@ (define-public multipath-tools
|
|||
(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 a new issue