me
/
guix
Archived
1
0
Fork 0

gnu: criu: Remove obsolete workaround.

* gnu/packages/virtualization.scm (criu)[arguments]: In the configure phase,
do not add kernel headers on C_INLUDE_PATH.
master
Marius Bakke 2020-04-05 16:33:19 +02:00
parent f12f7a0464
commit 41cb710f4a
No known key found for this signature in database
GPG Key ID: A2A06DF2A33A54FA
1 changed files with 1 additions and 7 deletions

View File

@ -730,13 +730,7 @@ domains, their live performance and resource utilization statistics.")
(setenv "C_INCLUDE_PATH" (setenv "C_INCLUDE_PATH"
(string-append (assoc-ref inputs "libnl") (string-append (assoc-ref inputs "libnl")
"/include/libnl3:" "/include/libnl3:"
;; Also add the kernel headers here so that GCC (or (getenv "C_INCLUDE_PATH") "")))
;; treats them as "system headers". Otherwise
;; the build fails with -Werror because parasite.c
;; includes both <linux/fs.h> and <sys/mount.h>,
;; which define some of the same constants.
(assoc-ref inputs "kernel-headers")
"/include"))
#t)) #t))
(add-after 'configure 'fix-documentation (add-after 'configure 'fix-documentation
(lambda* (#:key inputs outputs #:allow-other-keys) (lambda* (#:key inputs outputs #:allow-other-keys)