janneke pushed a commit to branch core-packages-team
in repository guix.

commit 1400b4cac4843ccb1541089ac8a58c18a9026772
Author: Zheng Junjie <z572@z572.online>
AuthorDate: Wed Feb 12 20:01:36 2025 +0800

    Revert "gnu: elfutils: Fix build to loongarch64."
    
    This reverts commit 8f219ec01a7f9c118d039a77dc1119e6c27ebf5a.
---
 gnu/packages/elf.scm | 17 ++---------------
 1 file changed, 2 insertions(+), 15 deletions(-)

diff --git a/gnu/packages/elf.scm b/gnu/packages/elf.scm
index cf2b7c2d1d..6388629045 100644
--- a/gnu/packages/elf.scm
+++ b/gnu/packages/elf.scm
@@ -143,17 +143,6 @@ libraries.")
                             (("run-strip-strmerge.sh") "")
                             (("run-elflint-self.sh") "")))))
                    #~())
-            #$@(if (target-loongarch64?)
-                   `((add-after 'unpack 'update-config-scripts
-                       (lambda* (#:key inputs native-inputs #:allow-other-keys)
-                         ;; Replace outdated config.guess and config.sub.
-                         (for-each (lambda (file)
-                                     (install-file
-                                      (search-input-file
-                                       (or native-inputs inputs)
-                                       (string-append "/bin/" file)) 
"./config"))
-                                   '("config.guess" "config.sub")))))
-                   '())
             #$@(if (system-hurd?)
                    #~((add-after 'unpack 'skip-tests
                         (lambda _
@@ -176,10 +165,8 @@ libraries.")
                             (("^#!.*" all)
                              (string-append all "exit 77;\n"))))))
                    #~()))))
-    (native-inputs (append (if (target-loongarch64?)
-                               (list config)
-                               (list))
-                           (list m4)))
+
+    (native-inputs (list m4))
     (inputs (list xz zlib))
     (home-page "https://sourceware.org/elfutils/";)
     (synopsis "Collection of utilities and libraries to handle ELF files and

Reply via email to