From 257d8974e6593dc84fde42553934b1d9e40ec586 Mon Sep 17 00:00:00 2001 From: Mark H Weaver Date: Fri, 23 Mar 2018 02:56:47 -0400 Subject: gnu: libelf: Use invoke. * gnu/packages/elf.scm (libelf)[arguments]: Use invoke in the configure phase. --- gnu/packages/elf.scm | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) (limited to 'gnu') diff --git a/gnu/packages/elf.scm b/gnu/packages/elf.scm index 08d92532fa..fa1fb46aa4 100644 --- a/gnu/packages/elf.scm +++ b/gnu/packages/elf.scm @@ -90,13 +90,12 @@ (define-public libelf ;; variables passed as arguments. (let ((out (assoc-ref outputs "out"))) (setenv "CONFIG_SHELL" (which "bash")) - (zero? - (system* "./configure" - (string-append "--prefix=" out) + (invoke "./configure" + (string-append "--prefix=" out) ,@(if (string=? "aarch64-linux" (%current-system)) '("--host=aarch64-unknown-linux-gnu") - '()))))))))) + '())))))))) (home-page "http://www.mr511.de/software/english.html") (synopsis "ELF object file access library") (description "Libelf is a C library to access ELF object files.") -- cgit v1.2.3