guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

08/10: gnu: make-lld-wrapper: Inherit version, license and home-page fro


From: guix-commits
Subject: 08/10: gnu: make-lld-wrapper: Inherit version, license and home-page from LLD.
Date: Sat, 19 Nov 2022 16:10:05 -0500 (EST)

mbakke pushed a commit to branch master
in repository guix.

commit cd9161372aa3ec9b8902385d5937d04e1868495c
Author: Marius Bakke <marius@gnu.org>
AuthorDate: Sat Nov 19 16:27:17 2022 +0100

    gnu: make-lld-wrapper: Inherit version, license and home-page from LLD.
    
    * gnu/packages/llvm.scm (make-lld-wrapper): Inherit from the provided LLD.
---
 gnu/packages/llvm.scm | 10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)

diff --git a/gnu/packages/llvm.scm b/gnu/packages/llvm.scm
index 2b50b127c2..f854493281 100644
--- a/gnu/packages/llvm.scm
+++ b/gnu/packages/llvm.scm
@@ -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



reply via email to

[Prev in Thread] Current Thread [Next in Thread]