diff options
author | Marius Bakke <mbakke@fastmail.com> | 2019-11-21 22:38:07 +0100 |
---|---|---|
committer | Marius Bakke <mbakke@fastmail.com> | 2019-11-21 22:41:45 +0100 |
commit | a4c36e6593c392c1c4e936951fe570183684b9bb (patch) | |
tree | fef5624a4083c226b3f8aa1c0f9b4cf4c57d52ef /gnu/packages | |
parent | 9e04cd0808c5d15c1b2709cd769bfe9a660e2427 (diff) | |
download | guix-a4c36e6593c392c1c4e936951fe570183684b9bb.tar.gz guix-a4c36e6593c392c1c4e936951fe570183684b9bb.zip |
gnu: lxc: Adjust for GCC 7.
* gnu/packages/virtualization.scm (lxc)[arguments]: Add #:make-flags.
Diffstat (limited to 'gnu/packages')
-rw-r--r-- | gnu/packages/virtualization.scm | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/gnu/packages/virtualization.scm b/gnu/packages/virtualization.scm index 0210c2936e..d9cda7696d 100644 --- a/gnu/packages/virtualization.scm +++ b/gnu/packages/virtualization.scm @@ -381,6 +381,12 @@ all common programming languages. Vala bindings are also provided.") "/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 |