aboutsummaryrefslogtreecommitdiff
path: root/gnu
diff options
context:
space:
mode:
Diffstat (limited to 'gnu')
-rw-r--r--gnu/packages/llvm.scm15
1 files changed, 2 insertions, 13 deletions
diff --git a/gnu/packages/llvm.scm b/gnu/packages/llvm.scm
index 0c0ec1bca1..f27ab5e3b4 100644
--- a/gnu/packages/llvm.scm
+++ b/gnu/packages/llvm.scm
@@ -50,6 +50,7 @@
#:use-module (guix gexp)
#:use-module (guix git-download)
#:use-module (guix memoization)
+ #:use-module (guix search-paths)
#:use-module (guix utils)
#:use-module (guix build-system cmake)
#:use-module (guix build-system emacs)
@@ -464,19 +465,7 @@ ttest third-party/unittest)\n" line))))))
#t)))))
;; Clang supports the same environment variables as GCC.
- (native-search-paths
- (list (search-path-specification
- (variable "C_INCLUDE_PATH")
- (files '("include")))
- (search-path-specification
- (variable "CPLUS_INCLUDE_PATH")
- (files '("include/c++" "include")))
- (search-path-specification
- (variable "OBJC_INCLUDE_PATH")
- (files '("include")))
- (search-path-specification
- (variable "LIBRARY_PATH")
- (files '("lib" "lib64")))))
+ (native-search-paths %gcc-search-paths)
(home-page "https://clang.llvm.org")
(synopsis "C language family frontend for LLVM")