From 25d0c7f53381d33a1fdfc9b1d75c9b64fa41feb7 Mon Sep 17 00:00:00 2001 From: Zheng Junjie Date: Wed, 12 Feb 2025 20:01:36 +0800 Subject: [PATCH] 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 cf2b7c2d1d6fa8d9995eb6ef22e8db56ca67bfe5..6388629045ae5f5bb3fb620fe8f23f13d78f5292 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