[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
03/03: fixup! gnu: make-ld-wrapper: Add a LINKER argument.
From: |
guix-commits |
Subject: |
03/03: fixup! gnu: make-ld-wrapper: Add a LINKER argument. |
Date: |
Tue, 19 Oct 2021 08:22:41 -0400 (EDT) |
apteryx pushed a commit to branch core-updates-frozen-batched-changes
in repository guix.
commit e44ed8371ad35859770c9ae22d790d41c09d9abd
Author: Maxim Cournoyer <maxim.cournoyer@gmail.com>
AuthorDate: Mon Oct 18 23:38:32 2021 -0400
fixup! gnu: make-ld-wrapper: Add a LINKER argument.
---
gnu/packages/base.scm | 7 +++----
1 file changed, 3 insertions(+), 4 deletions(-)
diff --git a/gnu/packages/base.scm b/gnu/packages/base.scm
index 6522f83..0ca15bd 100644
--- a/gnu/packages/base.scm
+++ b/gnu/packages/base.scm
@@ -669,11 +669,10 @@ can be provided via the LINKER argument."
(string-append (assoc-ref %build-inputs "binutils")
,(if target
(string-append "/bin/"
- target "-ld")
- "/bin/ld"))))
+ target "-" linker)
+ (string-append "/bin/"
linker)))))
(chmod ld #o555)
- (compile-file ld #:output-file go)
- #t)))))
+ (compile-file ld #:output-file go))))))
(synopsis "The linker wrapper")
(description
"The linker wrapper (or @code{ld-wrapper}) wraps the linker to add any