summaryrefslogtreecommitdiff
path: root/gnu
diff options
context:
space:
mode:
authorEfraim Flashner <efraim@flashner.co.il>2016-09-23 14:49:35 +0300
committerEfraim Flashner <efraim@flashner.co.il>2016-09-23 17:38:24 +0300
commit5bd6270211b8b4d9335960eb5741c34308187ccd (patch)
treed1f0774df46c37f0ee78d7d111e14cab510a024f /gnu
parent236d522b808ec5288085d647c426fbbf5318f2e5 (diff)
downloadpatches-5bd6270211b8b4d9335960eb5741c34308187ccd.tar
patches-5bd6270211b8b4d9335960eb5741c34308187ccd.tar.gz
gnu: orpheus: Fix build on mips64el.
* gnu/packages/orpheus.scm (orpheus)[arguments]: On mips64el, pass "--host=mips64el-unknown-linux-gnu" to ./configure.
Diffstat (limited to 'gnu')
-rw-r--r--gnu/packages/orpheus.scm8
1 files changed, 7 insertions, 1 deletions
diff --git a/gnu/packages/orpheus.scm b/gnu/packages/orpheus.scm
index 069d3e548a..f7912524c2 100644
--- a/gnu/packages/orpheus.scm
+++ b/gnu/packages/orpheus.scm
@@ -1,5 +1,6 @@
;;; GNU Guix --- Functional package management for GNU
;;; Copyright © 2014 Eric Bavier <bavier@member.fsf.org>
+;;; Copyright © 2014 Efraim Flashner <efraim@flashner.co.il>
;;;
;;; This file is part of GNU Guix.
;;;
@@ -62,7 +63,12 @@
(setenv "SHELL" (which "bash"))
(setenv "LIBS" "-logg") ;doesn't declare its use of libogg
(zero?
- (system* "./configure" (string-append "--prefix=" out)))))
+ (system* "./configure" (string-append "--prefix=" out)
+ ,@(if (string=? "mips64el-linux"
+ (%current-system))
+ '("--host=mips64el-unknown-linux-gnu")
+ '())
+ ))))
(alist-cons-after
'configure 'configure-players
(lambda* (#:key inputs #:allow-other-keys)