[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
branch master updated: gnu: xen: Fix build failure.
From: |
guix-commits |
Subject: |
branch master updated: gnu: xen: Fix build failure. |
Date: |
Tue, 14 Apr 2020 06:04:24 -0400 |
This is an automated email from the git hooks/post-receive script.
dannym pushed a commit to branch master
in repository guix.
The following commit(s) were added to refs/heads/master by this push:
new 6177320 gnu: xen: Fix build failure.
6177320 is described below
commit 6177320d7816f2115bb0f6027cd51c29903fe45e
Author: Danny Milosavljevic <address@hidden>
AuthorDate: Tue Apr 14 12:02:34 2020 +0200
gnu: xen: Fix build failure.
* gnu/packages/virtualization.scm
(xen)[arguments]<#:phases>[set-environment-up]:
Use CPATH instead of C_INCLUDE_PATH, CPLUS_INCLUDE_PATH.
---
gnu/packages/virtualization.scm | 9 ++++-----
1 file changed, 4 insertions(+), 5 deletions(-)
diff --git a/gnu/packages/virtualization.scm b/gnu/packages/virtualization.scm
index 0fded11..bca3c91 100644
--- a/gnu/packages/virtualization.scm
+++ b/gnu/packages/virtualization.scm
@@ -1290,14 +1290,13 @@ override CC = " (assoc-ref inputs "cross-gcc")
"/bin/i686-linux-gnu-gcc"))
new-search-path ":")))
(setenv env-name new-env-value)))
environment-variable-names))
- (setenv "CROSS_C_INCLUDE_PATH" (getenv "C_INCLUDE_PATH"))
- (setenv "CROSS_CPLUS_INCLUDE_PATH" (getenv "CPLUS_INCLUDE_PATH"))
+ (setenv "CROSS_CPATH" (getenv "CPATH"))
(setenv "CROSS_LIBRARY_PATH" (getenv "LIBRARY_PATH"))
(filter-environment! cross?
- '("CROSS_C_INCLUDE_PATH" "CROSS_CPLUS_INCLUDE_PATH"
+ '("CROSS_CPATH"
"CROSS_LIBRARY_PATH"))
(filter-environment! (lambda (e) (not (cross? e)))
- '("C_INCLUDE_PATH" "CPLUS_INCLUDE_PATH"
+ '("CPATH"
"LIBRARY_PATH"))
;; Guix tries to be helpful and automatically adds
;; mini-os-git-checkout/include to the include path,
@@ -1306,7 +1305,7 @@ override CC = " (assoc-ref inputs "cross-gcc")
"/bin/i686-linux-gnu-gcc"))
(not
(string-contains e
"mini-os-git-checkout")))
- '("C_INCLUDE_PATH" "CPLUS_INCLUDE_PATH"
+ '("CPATH"
"LIBRARY_PATH"))
(setenv "EFI_VENDOR" "guix")
#t))
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- branch master updated: gnu: xen: Fix build failure.,
guix-commits <=