guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

01/02: gnu: orpheus: Fix build on mips64el.


From: Efraim Flashner
Subject: 01/02: gnu: orpheus: Fix build on mips64el.
Date: Fri, 23 Sep 2016 14:38:44 +0000 (UTC)

efraim pushed a commit to branch master
in repository guix.

commit 5bd6270211b8b4d9335960eb5741c34308187ccd
Author: Efraim Flashner <address@hidden>
Date:   Fri Sep 23 14:49:35 2016 +0300

    gnu: orpheus: Fix build on mips64el.
    
    * gnu/packages/orpheus.scm (orpheus)[arguments]: On mips64el, pass
    "--host=mips64el-unknown-linux-gnu" to ./configure.
---
 gnu/packages/orpheus.scm |    8 +++++++-
 1 file changed, 7 insertions(+), 1 deletion(-)

diff --git a/gnu/packages/orpheus.scm b/gnu/packages/orpheus.scm
index 069d3e5..f791252 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 <address@hidden>
+;;; Copyright © 2014 Efraim Flashner <address@hidden>
 ;;;
 ;;; 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)



reply via email to

[Prev in Thread] Current Thread [Next in Thread]