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".
This commit is contained in:
parent
56c833ea28
commit
f42bfc7a99
1 changed files with 4 additions and 1 deletions
|
@ -339,8 +339,11 @@ (define* (clang-from-llvm llvm clang-runtime hash
|
|||
;; 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")))))
|
||||
|
|
Loading…
Reference in a new issue