guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

branch master updated: gnu: Use dummy linker for '*-elf' systems.


From: guix-commits
Subject: branch master updated: gnu: Use dummy linker for '*-elf' systems.
Date: Mon, 15 May 2023 09:32:50 -0400

This is an automated email from the git hooks/post-receive script.

iyzsong pushed a commit to branch master
in repository guix.

The following commit(s) were added to refs/heads/master by this push:
     new bcda49b656 gnu: Use dummy linker for '*-elf' systems.
bcda49b656 is described below

commit bcda49b656f5320ff3646decdb241e228c8636fd
Author: 宋文武 <iyzsong@member.fsf.org>
AuthorDate: Mon May 15 18:16:00 2023 +0800

    gnu: Use dummy linker for '*-elf' systems.
    
    * gnu/packages/bootstrap.scm (glibc-dynamic-linker): Return "no-ld.so" for
    systems with a "-elf" suffix.
---
 gnu/packages/bootstrap.scm | 5 +----
 1 file changed, 1 insertion(+), 4 deletions(-)

diff --git a/gnu/packages/bootstrap.scm b/gnu/packages/bootstrap.scm
index 9a46f97c81..5f6a3acc83 100644
--- a/gnu/packages/bootstrap.scm
+++ b/gnu/packages/bootstrap.scm
@@ -325,14 +325,11 @@ or false to signal an error."
 
      ;; XXX: This one is used bare-bones, without a libc, so add a case
      ;; here just so we can keep going.
-     ((string=? system "arm-elf") "no-ld.so")
      ((string=? system "arm-eabi") "no-ld.so")
-     ((string=? system "xtensa-elf") "no-ld.so")
      ((string=? system "avr") "no-ld.so")
-     ((string=? system "propeller-elf") "no-ld.so")
      ((string=? system "i686-mingw") "no-ld.so")
      ((string=? system "x86_64-mingw") "no-ld.so")
-     ((string=? system "vc4-elf") "no-ld.so")
+     ((string-suffix? "-elf" system) "no-ld.so")
 
      (else (error "dynamic linker name not known for this system"
                   system)))))



reply via email to

[Prev in Thread] Current Thread [Next in Thread]