From 0e396872a6375d875982ebafc283659a85208261 Mon Sep 17 00:00:00 2001 From: Mark H Weaver Date: Sat, 7 Mar 2015 21:42:43 -0500 Subject: gnu: sysfsutils-1: Pass --build to configure. * gnu/packages/linux.scm (sysfsutils-1)[arguments]: Pass --build to configure. --- gnu/packages/linux.scm | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'gnu') diff --git a/gnu/packages/linux.scm b/gnu/packages/linux.scm index 621ce69c2d..6cf9cf4541 100644 --- a/gnu/packages/linux.scm +++ b/gnu/packages/linux.scm @@ -1961,6 +1961,13 @@ also contains the libsysfs library.") (substitute* "configure" (("includedir='(\\$\\{prefix\\}/include)'" all orig) (string-append "includedir='" orig "/sysfs'"))))))) + ;; XXX sysfsutils-1.3.0's config.guess fails on mips64el + (arguments `(#:configure-flags + '(,@(if (%current-target-system) + '() + (let ((triplet + (nix-system->gnu-triplet (%current-system)))) + (list (string-append "--build=" triplet))))))) (synopsis "System utilities based on Linux sysfs (version 1.x)"))) (define-public cpufrequtils -- cgit v1.2.3