aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMark H Weaver <mhw@netris.org>2015-08-06 18:15:51 -0400
committerLudovic Courtès <ludo@gnu.org>2015-10-28 12:04:02 +0100
commit726029b2bac3584d7d13e577d7321ed84c80aebd (patch)
treee31f5c40672f62457ba21d57b1c1f38b17e2ea7b
parent6c8d70b0b69bb842b7b5ddd8e6f354962b0a3b29 (diff)
downloadguix-726029b2bac3584d7d13e577d7321ed84c80aebd.tar
guix-726029b2bac3584d7d13e577d7321ed84c80aebd.tar.gz
gnu: linux-libre: Add case for ARCH=mips.
* gnu/packages/linux.scm (linux-libre)[build-phase]: When setting ARCH, add a case for MIPS.
-rw-r--r--gnu/packages/linux.scm1
1 files changed, 1 insertions, 0 deletions
diff --git a/gnu/packages/linux.scm b/gnu/packages/linux.scm
index 8b7fe35309..d66fac5ceb 100644
--- a/gnu/packages/linux.scm
+++ b/gnu/packages/linux.scm
@@ -220,6 +220,7 @@ for SYSTEM, or #f if there is no configuration for SYSTEM."
(let ((arch (car (string-split system #\-))))
(setenv "ARCH"
(cond ((string=? arch "i686") "i386")
+ ((string=? arch "mips64el") "mips")
(else arch)))
(format #t "`ARCH' set to `~a'~%" (getenv "ARCH")))