[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
135/203: gnu: ungoogled-chromium: Use the new lld-as-ld-wrapper.
From: |
guix-commits |
Subject: |
135/203: gnu: ungoogled-chromium: Use the new lld-as-ld-wrapper. |
Date: |
Wed, 3 Nov 2021 21:10:22 -0400 (EDT) |
apteryx pushed a commit to branch core-updates-frozen-batched-changes
in repository guix.
commit fc243f87023420f989fbadcc8d2bfdd8c30021ca
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 use 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 9e5e516..1f55ab9 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" ,lld-as-ld-wrapper)
("ninja" ,ninja)
("node" ,node-lts)
("pkg-config" ,pkg-config)
- 123/203: gnu: pango: Update to 1.48.10., (continued)
- 123/203: gnu: pango: Update to 1.48.10., guix-commits, 2021/11/03
- 116/203: gnu: mesa: Update to 21.2.4., guix-commits, 2021/11/03
- 114/203: gnu: rest: Use libsoup-minimal., guix-commits, 2021/11/03
- 118/203: gnu: cmake-bootstrap: Update to 3.21.3., guix-commits, 2021/11/03
- 120/203: gnu: mit-krb5: Absorb 1.19.2 graft., guix-commits, 2021/11/03
- 126/203: gnu: glib-networking: Update to 2.70.rc., guix-commits, 2021/11/03
- 139/203: gnu: gdk-pixbuf: Add a search path for the loaders cache file., guix-commits, 2021/11/03
- 145/203: gnu: mariadb: Only run the main test suite to avoid flaky tests., guix-commits, 2021/11/03
- 132/203: gnu: webkitgtk: Add a debug output., guix-commits, 2021/11/03
- 144/203: gnu: cdparanoia: Disable parallel build., guix-commits, 2021/11/03
- 135/203: gnu: ungoogled-chromium: Use the new lld-as-ld-wrapper.,
guix-commits <=
- 157/203: gnu: python-dateutil: Update to 2.8.2., guix-commits, 2021/11/03
- 136/203: gnu: gtk: Add the generate-gdk-pixbuf-loaders-cache-file phase., guix-commits, 2021/11/03
- 161/203: gnu: mesa: Enable support for OpenGL ES 1.1 and 2.0., guix-commits, 2021/11/03
- 162/203: gnu: zxing-cpp: Update to 1.2.0-0.00783db., guix-commits, 2021/11/03
- 50/203: gnu: lib2geom: Update to 1.1., guix-commits, 2021/11/03
- 121/203: gnu: util-linux: Globally disable the lsns test., guix-commits, 2021/11/03
- 150/203: gnu: curl: Update to 7.79.1., guix-commits, 2021/11/03
- 171/203: gnu: gtkmm: Update to 4.4.0., guix-commits, 2021/11/03
- 168/203: gnu: Add cling., guix-commits, 2021/11/03
- 186/203: gnu: libblockdev: Update to 2.26., guix-commits, 2021/11/03