[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
135/201: gnu: ungoogled-chromium: Use the new lld-as-ld-wrapper.
From: |
guix-commits |
Subject: |
135/201: gnu: ungoogled-chromium: Use the new lld-as-ld-wrapper. |
Date: |
Mon, 1 Nov 2021 23:18:59 -0400 (EDT) |
apteryx pushed a commit to branch core-updates-frozen-batched-changes
in repository guix.
commit a3c652352207e30cd00bf8cabcab15c04aa7897e
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)
- 57/201: gnu: Add a missing copyright., (continued)
- 57/201: gnu: Add a missing copyright., guix-commits, 2021/11/01
- 71/201: gnu: dbus-c++: Fix build., guix-commits, 2021/11/01
- 75/201: gnu: glibc: Remove unneeded nscd patching., guix-commits, 2021/11/01
- 55/201: gnu: abseil-cpp: Update to 20210324.2., guix-commits, 2021/11/01
- 67/201: gnu: python-gst: Update to 1.18.5., guix-commits, 2021/11/01
- 70/201: gnu: python-keras: Enable parallel tests., guix-commits, 2021/11/01
- 25/201: gnu: gst-plugins-bad: Update to 1.18.4., guix-commits, 2021/11/01
- 44/201: gnu: gst-plugins-bad: Update to 1.19.2., guix-commits, 2021/11/01
- 42/201: gnu: gst-plugins-good: Update to 1.19.2., guix-commits, 2021/11/01
- 125/201: gnu: glib: Update to 2.70, specify a bindir prefix and hide package., guix-commits, 2021/11/01
- 135/201: gnu: ungoogled-chromium: Use the new lld-as-ld-wrapper.,
guix-commits <=
- 146/201: gnu: nspr: Normalize inputs., guix-commits, 2021/11/01
- 151/201: gnu: python-hypothesis: Update to 6.23.4., guix-commits, 2021/11/01
- 153/201: gnu: boost: Update to 1.77.0., guix-commits, 2021/11/01
- 157/201: gnu: python-dateutil: Update to 2.8.2., guix-commits, 2021/11/01
- 159/201: gnu: gstreamer: Disable the pipelines-seek test., guix-commits, 2021/11/01
- 176/201: gnu: Add libxcvt., guix-commits, 2021/11/01
- 169/201: gnu: Add meson-0.59., guix-commits, 2021/11/01
- 195/201: gnu: openblas: Update to 0.3.18., guix-commits, 2021/11/01
- 186/201: gnu: libblockdev: Update to 2.26., guix-commits, 2021/11/01
- 187/201: gnu: Add webkitgtk-2.32., guix-commits, 2021/11/01