guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

09/12: gnu: lxc: Adjust for GCC 7.


From: guix-commits
Subject: 09/12: gnu: lxc: Adjust for GCC 7.
Date: Thu, 21 Nov 2019 16:44:06 -0500 (EST)

mbakke pushed a commit to branch master
in repository guix.

commit a4c36e6593c392c1c4e936951fe570183684b9bb
Author: Marius Bakke <address@hidden>
Date:   Thu Nov 21 22:38:07 2019 +0100

    gnu: lxc: Adjust for GCC 7.
    
    * gnu/packages/virtualization.scm (lxc)[arguments]: Add #:make-flags.
---
 gnu/packages/virtualization.scm | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/gnu/packages/virtualization.scm b/gnu/packages/virtualization.scm
index 0210c29..d9cda76 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



reply via email to

[Prev in Thread] Current Thread [Next in Thread]