mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2025-01-12 14:16:55 -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)
|
||||
"--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
|
||||
|
|
Loading…
Reference in a new issue