mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-11-07 07:26:13 -05:00
gnu: clang-toolchain: Create 'cc' and 'c++' symlinks.
* gnu/packages/llvm.scm (make-clang-toolchain)[arguments]: Create 'cc' and 'c++' symlinks.
This commit is contained in:
parent
61a5380bfd
commit
b668450716
1 changed files with 6 additions and 0 deletions
|
@ -476,6 +476,12 @@ (define (make-clang-toolchain clang)
|
|||
(((names . directories) ...)
|
||||
(union-build out directories)))
|
||||
|
||||
;; Create 'cc' and 'c++' so that one can use it as a
|
||||
;; drop-in replacement for the default tool chain and
|
||||
;; have configure scripts find the compiler.
|
||||
(symlink "clang" (string-append out "/bin/cc"))
|
||||
(symlink "clang++" (string-append out "/bin/c++"))
|
||||
|
||||
(union-build (assoc-ref %outputs "debug")
|
||||
(list (assoc-ref %build-inputs
|
||||
"libc-debug")))
|
||||
|
|
Loading…
Reference in a new issue