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:
Marius Bakke 2020-03-15 16:04:53 +01:00
parent 56c833ea28
commit f42bfc7a99
No known key found for this signature in database
GPG key ID: A2A06DF2A33A54FA

View file

@ -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")))))