mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2025-01-27 13:09:23 -05:00
gnu: lxc: Adjust for GCC 7.
* gnu/packages/virtualization.scm (lxc)[arguments]: Add #:make-flags.
This commit is contained in:
parent
9e04cd0808
commit
a4c36e6593
1 changed files with 6 additions and 0 deletions
|
@ -381,6 +381,12 @@ (define-public lxc
|
||||||
"/share/doc/" ,name "-" ,version)
|
"/share/doc/" ,name "-" ,version)
|
||||||
"--sysconfdir=/etc"
|
"--sysconfdir=/etc"
|
||||||
"--localstatedir=/var")
|
"--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
|
#:phases
|
||||||
(modify-phases %standard-phases
|
(modify-phases %standard-phases
|
||||||
(replace 'install
|
(replace 'install
|
||||||
|
|
Loading…
Reference in a new issue