mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-12-25 22:08:16 -05:00
gnu: mes: Generalize logic for native-inputs.
* gnu/packages/mes.scm (mes)[native-inputs]: On all architectures except i686-linux use cross compiler packages.
This commit is contained in:
parent
56804398a9
commit
beb7e659f2
1 changed files with 3 additions and 3 deletions
|
@ -1,6 +1,6 @@
|
||||||
;;; GNU Guix --- Functional package management for GNU
|
;;; GNU Guix --- Functional package management for GNU
|
||||||
;;; Copyright © 2017 Jan Nieuwenhuizen <janneke@gnu.org>
|
;;; Copyright © 2017 Jan Nieuwenhuizen <janneke@gnu.org>
|
||||||
;;; Copyright © 2017 Efraim Flashner <efraim@flashner.co.il>
|
;;; Copyright © 2017, 2018 Efraim Flashner <efraim@flashner.co.il>
|
||||||
;;;
|
;;;
|
||||||
;;; This file is part of GNU Guix.
|
;;; This file is part of GNU Guix.
|
||||||
;;;
|
;;;
|
||||||
|
@ -76,8 +76,8 @@ (define-public mes
|
||||||
("nyacc" ,nyacc)))
|
("nyacc" ,nyacc)))
|
||||||
(native-inputs
|
(native-inputs
|
||||||
`(("guile" ,guile-2.2)
|
`(("guile" ,guile-2.2)
|
||||||
,@(if (string-prefix? "x86_64-linux" (or (%current-target-system)
|
,@(if (not (string-prefix? "i686-linux" (or (%current-target-system)
|
||||||
(%current-system)))
|
(%current-system))))
|
||||||
;; Use cross-compiler rather than #:system "i686-linux" to get
|
;; Use cross-compiler rather than #:system "i686-linux" to get
|
||||||
;; MesCC 64 bit .go files installed ready for use with Guile.
|
;; MesCC 64 bit .go files installed ready for use with Guile.
|
||||||
`(("i686-linux-binutils" ,(cross-binutils triplet))
|
`(("i686-linux-binutils" ,(cross-binutils triplet))
|
||||||
|
|
Loading…
Reference in a new issue