Revert "gnu: elfutils: Fix build to loongarch64."

This reverts commit 8f219ec01a.
This commit is contained in:
Zheng Junjie 2025-02-12 20:01:36 +08:00 committed by Andreas Enge
parent 5d9a084092
commit 25d0c7f533
No known key found for this signature in database
GPG key ID: F7D5C9BF765C61E3

View file

@ -143,17 +143,6 @@ libraries.")
(("run-strip-strmerge.sh") "") (("run-strip-strmerge.sh") "")
(("run-elflint-self.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?) #$@(if (system-hurd?)
#~((add-after 'unpack 'skip-tests #~((add-after 'unpack 'skip-tests
(lambda _ (lambda _
@ -176,10 +165,8 @@ libraries.")
(("^#!.*" all) (("^#!.*" all)
(string-append all "exit 77;\n")))))) (string-append all "exit 77;\n"))))))
#~())))) #~()))))
(native-inputs (append (if (target-loongarch64?)
(list config) (native-inputs (list m4))
(list))
(list m4)))
(inputs (list xz zlib)) (inputs (list xz zlib))
(home-page "https://sourceware.org/elfutils/") (home-page "https://sourceware.org/elfutils/")
(synopsis "Collection of utilities and libraries to handle ELF files and (synopsis "Collection of utilities and libraries to handle ELF files and