[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
02/03: gnu: clang: Switch to 'C_INCLUDE_PATH' & co.
From: |
guix-commits |
Subject: |
02/03: gnu: clang: Switch to 'C_INCLUDE_PATH' & co. |
Date: |
Sun, 15 Mar 2020 11:09:06 -0400 (EDT) |
mbakke pushed a commit to branch core-updates
in repository guix.
commit f42bfc7a99b1e152cd014fca069083527f10665c
Author: Marius Bakke <address@hidden>
AuthorDate: Sun Mar 15 16:04:53 2020 +0100
gnu: clang: Switch to 'C_INCLUDE_PATH' & co.
* gnu/packages/llvm.scm (clang-from-llvm)[native-search-paths]: Remove
"CPATH", and add "C_INCLUDE_PATH" and "CPLUS_INCLUDE_PATH".
---
gnu/packages/llvm.scm | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/gnu/packages/llvm.scm b/gnu/packages/llvm.scm
index 1286fe5..3909039 100644
--- a/gnu/packages/llvm.scm
+++ b/gnu/packages/llvm.scm
@@ -339,9 +339,12 @@ compiler. In LLVM this library is called
\"compiler-rt\".")
;; Clang supports the same environment variables as GCC.
(native-search-paths
(list (search-path-specification
- (variable "CPATH")
+ (variable "C_INCLUDE_PATH")
(files '("include")))
(search-path-specification
+ (variable "CPLUS_INCLUDE_PATH")
+ (files '("include/c++" "include")))
+ (search-path-specification
(variable "LIBRARY_PATH")
(files '("lib" "lib64")))))