[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
135/142: gnu: ungoogled-chromium: Use the new lld-as-ld-wrapper.
From: |
guix-commits |
Subject: |
135/142: gnu: ungoogled-chromium: Use the new lld-as-ld-wrapper. |
Date: |
Wed, 20 Oct 2021 14:57:02 -0400 (EDT) |
apteryx pushed a commit to branch core-updates-frozen-batched-changes
in repository guix.
commit 8f501e41e5a2ccc7f06d73f4066dc6a9cf5ffe11
Author: Maxim Cournoyer <maxim.cournoyer@gmail.com>
AuthorDate: Sun Oct 17 22:42:19 2021 -0400
gnu: ungoogled-chromium: Use the new lld-as-ld-wrapper.
* gnu/packages/chromium.scm (make-lld-wrapper): Delete procedure.
(ungoogled-chromium)[native-inputs]: Replace its used by lld-as-ld-wrapper.
---
gnu/packages/chromium.scm | 27 +--------------------------
1 file changed, 1 insertion(+), 26 deletions(-)
diff --git a/gnu/packages/chromium.scm b/gnu/packages/chromium.scm
index 534b9a4..ad4c4ee 100644
--- a/gnu/packages/chromium.scm
+++ b/gnu/packages/chromium.scm
@@ -460,31 +460,6 @@
`(cons "--enable-custom-modes"
,flags))))))
-;; 'make-ld-wrapper' can only work with an 'ld' executable, so we need
-;; this trick to make it wrap 'lld'.
-(define (make-lld-wrapper lld)
- (define lld-as-ld
- (computed-file "lld-ld"
- #~(begin
- (mkdir #$output)
- (mkdir (string-append #$output "/bin"))
- (symlink #$(file-append lld "/bin/lld")
- (string-append #$output "/bin/ld")))))
-
- ;; Create a wrapper for LLD that inserts appropriate -rpath entries.
- (define lld-wrapper
- (make-ld-wrapper "lld-wrapper"
- #:binutils lld-as-ld))
-
- ;; Clang looks for an 'ld.lld' executable, so we need to symlink it back.
- (computed-file "lld-wrapped"
- #~(begin
- (mkdir #$output)
- (mkdir (string-append #$output "/bin"))
- (symlink #$(file-append lld-wrapper "/bin/ld")
- (string-append #$output "/bin/lld"))
- (symlink "lld" (string-append #$output "/bin/ld.lld")))))
-
(define-public ungoogled-chromium
(package
(name "ungoogled-chromium")
@@ -848,7 +823,7 @@
("clang" ,clang-12)
("gn" ,gn)
("gperf" ,gperf)
- ("ld-wrapper" ,(make-lld-wrapper lld))
+ ("ld-wrapper" ,(force lld-as-ld-wrapper))
("ninja" ,ninja)
("node" ,node-lts)
("pkg-config" ,pkg-config)
- 116/142: gnu: mesa: Update to 21.2.4., (continued)
- 116/142: gnu: mesa: Update to 21.2.4., guix-commits, 2021/10/20
- 109/142: gnu: json-glib-minimal: Introduce minimal variant., guix-commits, 2021/10/20
- 119/142: gnu: openssl: Absorb 1.1.1l graft., guix-commits, 2021/10/20
- 132/142: gnu: webkitgtk: Add a debug output., guix-commits, 2021/10/20
- 21/142: gnu: gst-plugins-base: Enable more features., guix-commits, 2021/10/20
- 53/142: gnu: googletest: Update to 1.11.0., guix-commits, 2021/10/20
- 114/142: gnu: rest: Use libsoup-minimal., guix-commits, 2021/10/20
- 139/142: gnu: gdk-pixbuf: Add a search path for the loaders cache file., guix-commits, 2021/10/20
- 130/142: gnu: webkitgtk: Update to 2.34.0., guix-commits, 2021/10/20
- 129/142: gnu: libsoup: Update to 3.0.1., guix-commits, 2021/10/20
- 135/142: gnu: ungoogled-chromium: Use the new lld-as-ld-wrapper.,
guix-commits <=
- 43/142: gnu: zxing-cpp: Update to 1.2.0., guix-commits, 2021/10/20
- 62/142: gnu: gst-plugins-good: Update to 1.18.5., guix-commits, 2021/10/20
- 137/142: build: glib-or-gtk: Generate the gdk-pixbuf-loaders cache file in a phase., guix-commits, 2021/10/20
- 98/142: gnu: Add python-tomli., guix-commits, 2021/10/20
- 86/142: gnu: gdb: Patch references to /bin/sh and add debug output., guix-commits, 2021/10/20
- 93/142: gnu: Build all Rust packages using the latest rustc., guix-commits, 2021/10/20
- 133/142: gnu: python-flit: Update to 3.3.0., guix-commits, 2021/10/20
- 134/142: gnu: llvm: Add make-lld-wrapper, lld-wrapper and lld-as-ld-wrapper., guix-commits, 2021/10/20
- 120/142: gnu: mit-krb5: Absorb 1.19.2 graft., guix-commits, 2021/10/20
- 123/142: gnu: pango: Update to 1.48.10., guix-commits, 2021/10/20