Skip to content
Snippets Groups Projects
Unverified Commit a4c36e65 authored by Marius Bakke's avatar Marius Bakke
Browse files

gnu: lxc: Adjust for GCC 7.

* gnu/packages/virtualization.scm (lxc)[arguments]: Add #:make-flags.
parent 9e04cd08
No related branches found
No related tags found
No related merge requests found
......@@ -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment