gnu: lxc: Adjust for GCC 7.

* gnu/packages/virtualization.scm (lxc)[arguments]: Add #:make-flags.
This commit is contained in:
Marius Bakke 2019-11-21 22:38:07 +01:00
parent 9e04cd0808
commit a4c36e6593
No known key found for this signature in database
GPG key ID: A2A06DF2A33A54FA

View file

@ -381,6 +381,12 @@ (define-public lxc
"/share/doc/" ,name "-" ,version)
"--sysconfdir=/etc"
"--localstatedir=/var")
#:make-flags
;; Treat the kernel headers as system headers to silence
;; compiler warnings from those.
(list (string-append "C_INCLUDE_PATH="
(assoc-ref %build-inputs "kernel-headers")
"/include"))
#:phases
(modify-phases %standard-phases
(replace 'install