[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
135/227: gnu: ungoogled-chromium: Use the new lld-as-ld-wrapper.
From: |
guix-commits |
Subject: |
135/227: gnu: ungoogled-chromium: Use the new lld-as-ld-wrapper. |
Date: |
Thu, 11 Nov 2021 12:30:25 -0500 (EST) |
apteryx pushed a commit to branch core-updates-frozen
in repository guix.
commit 00c78f8dbcfeee1bbfdace72f0cc73e8b2035929
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)
- 212/227: gnu: python-asynctest: Delete package., (continued)
- 212/227: gnu: python-asynctest: Delete package., guix-commits, 2021/11/11
- 217/227: gnu: hackneyed-x11-cursors: Update to 0.8.2., guix-commits, 2021/11/11
- 224/227: gnu: openblas: Do not build static library., guix-commits, 2021/11/11
- 211/227: gnu: python-pymodbus: Update to 2.5.3., guix-commits, 2021/11/11
- 201/227: gnu: icecat: Use latest rust., guix-commits, 2021/11/11
- 202/227: build: meson: Replace the 'test-target' argument by 'test-options'., guix-commits, 2021/11/11
- 180/227: gnu: Add polkit-duktape., guix-commits, 2021/11/11
- 203/227: gnu: osinfo-db-tools: Update to 1.9.0., guix-commits, 2021/11/11
- 218/227: gnu: gnome-session: Use meson-0.59., guix-commits, 2021/11/11
- 220/227: gnu: network-manager-applet: Use meson-0.59., guix-commits, 2021/11/11
- 135/227: gnu: ungoogled-chromium: Use the new lld-as-ld-wrapper.,
guix-commits <=
- 187/227: gnu: libblockdev: Update to 2.26., guix-commits, 2021/11/11
- 196/227: gnu: openblas: Update to 0.3.18., guix-commits, 2021/11/11
- 195/227: gnu: docker-compose: Update to 1.29.2., guix-commits, 2021/11/11
- 200/227: gnu: gvfs: Use meson-0.59 to workaround faulty meson., guix-commits, 2021/11/11
- 209/227: gnu: Add python-aiomysql., guix-commits, 2021/11/11
- 215/227: gnu: conan: Update to 1.42.0., guix-commits, 2021/11/11
- 225/227: gnu: Add binutils-next., guix-commits, 2021/11/11
- 226/227: gnu: binutils-gold: Inherit from binutils-next., guix-commits, 2021/11/11
- 178/227: gnu: xorg-server: Fix indentation., guix-commits, 2021/11/11
- 206/227: gnu: Add python-sphinxcontrib-asyncio., guix-commits, 2021/11/11