summaryrefslogtreecommitdiff
path: root/gnu/packages/networking.scm
diff options
context:
space:
mode:
authorMarius Bakke <mbakke@fastmail.com>2019-07-19 15:01:03 +0200
committerMarius Bakke <mbakke@fastmail.com>2019-07-19 15:01:03 +0200
commit65db770833af9578642d733c4bc305c81ae5358f (patch)
treec69e59ddcce83ddfef6db270d0165467f2b84306 /gnu/packages/networking.scm
parentf02ab17b4a664b21294f75cb6d8ef62a022565ae (diff)
gnu: zyre: Kernel headers are system headers.
* gnu/packages/networking.scm (zyre)[arguments]: Add <#:make-flags>.
Diffstat (limited to 'gnu/packages/networking.scm')
-rw-r--r--gnu/packages/networking.scm6
1 files changed, 6 insertions, 0 deletions
diff --git a/gnu/packages/networking.scm b/gnu/packages/networking.scm
index a51497c206..f31e758944 100644
--- a/gnu/packages/networking.scm
+++ b/gnu/packages/networking.scm
@@ -2016,6 +2016,12 @@ remotely.")
(base32
"0qz2730bng1gs9xbqxhkw88qbsmszgmmrl2g9k6xrg6r3bqvsdc7"))))
(build-system gnu-build-system)
+ (arguments
+ `(;; Ensure the kernel headers are treated as system headers to suppress
+ ;; harmless -Werror=pedantic warnings.
+ #:make-flags (list (string-append "C_INCLUDE_PATH="
+ (assoc-ref %build-inputs "kernel-headers")
+ "/include"))))
(inputs `(("zeromq" ,zeromq)
("czmq" ,czmq)
("libsodium" ,libsodium)))