me
/
guix
Archived
1
0
Fork 0

gnu: make-lld-wrapper: Inherit version, license and home-page from LLD.

* gnu/packages/llvm.scm (make-lld-wrapper): Inherit from the provided LLD.
master
Marius Bakke 2022-11-19 16:27:17 +01:00
parent a8ca5d0114
commit cd9161372a
No known key found for this signature in database
GPG Key ID: A2A06DF2A33A54FA
1 changed files with 5 additions and 5 deletions

View File

@ -1592,14 +1592,16 @@ components which highly leverage existing libraries in the larger LLVM Project."
"Return a LLD wrapper. When LLD-AS-LD? is true, create a 'ld' symlink that
points to 'lld'."
(package
(inherit lld)
(name (if lld-as-ld? "lld-as-ld-wrapper" "lld-wrapper"))
(version "0")
(source #f)
(build-system trivial-build-system)
(native-inputs '())
(inputs (list (make-ld-wrapper "ld.lld-wrapper" #:binutils lld
#:linker "ld.lld")
(make-ld-wrapper "lld-wrapper" #:binutils lld #:linker
"lld")))
(propagated-inputs '())
(build-system trivial-build-system)
(arguments
(list #:builder
#~(let ((ld.lld (string-append #$(this-package-input
@ -1616,9 +1618,7 @@ points to 'lld'."
(synopsis "LLD linker wrapper")
(description "This is a linker wrapper for LLD; like @code{ld-wrapper}, it
wraps the linker to add any missing @code{-rpath} flags, and to detect any
misuse of libraries outside of the store.")
(home-page "https://www.gnu.org/software/guix/")
(license license:gpl3+)))
misuse of libraries outside of the store.")))
;;; A LLD wrapper suitable to use with -fuse-ld and GCC or with Clang.
(define-public lld-wrapper