summaryrefslogtreecommitdiff
path: root/gnu/packages/linux.scm
diff options
context:
space:
mode:
authorMark H Weaver <mhw@netris.org>2015-03-07 21:42:43 -0500
committerMark H Weaver <mhw@netris.org>2015-03-07 21:42:43 -0500
commit0e396872a6375d875982ebafc283659a85208261 (patch)
tree375c613dd759f247bc1a1b9f31385a49941e7095 /gnu/packages/linux.scm
parente396976b9b61c1db08c35059a2d46d72a4e93479 (diff)
downloadpatches-0e396872a6375d875982ebafc283659a85208261.tar
patches-0e396872a6375d875982ebafc283659a85208261.tar.gz
gnu: sysfsutils-1: Pass --build to configure.
* gnu/packages/linux.scm (sysfsutils-1)[arguments]: Pass --build to configure.
Diffstat (limited to 'gnu/packages/linux.scm')
-rw-r--r--gnu/packages/linux.scm7
1 files changed, 7 insertions, 0 deletions
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