gnu: orpheus: Fix build on mips64el.

* gnu/packages/orpheus.scm (orpheus)[arguments]: On mips64el, pass
"--host=mips64el-unknown-linux-gnu" to ./configure.
master
Efraim Flashner 2016-09-23 14:49:35 +03:00
parent 236d522b80
commit 5bd6270211
No known key found for this signature in database
GPG Key ID: F4C1D3917EACEE93
1 changed files with 7 additions and 1 deletions

View File

@ -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)