mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-12-25 22:08:16 -05:00
gnu: hurd: Use a 32-bit MiG when cross-compiling.
* gnu/packages/hurd.scm (hurd)[native-inputs]: When '%current-target-system' is true, pass #:system "i686-linux" to 'mig'.
This commit is contained in:
parent
7aad4609ae
commit
09ac892a95
1 changed files with 7 additions and 1 deletions
|
@ -370,7 +370,13 @@ (define-public hurd
|
||||||
(native-inputs
|
(native-inputs
|
||||||
`(("autoconf" ,autoconf)
|
`(("autoconf" ,autoconf)
|
||||||
("automake" ,automake)
|
("automake" ,automake)
|
||||||
("mig" ,mig)
|
("mig" ,(if (%current-target-system)
|
||||||
|
;; XXX: When targeting i586-pc-gnu, we need a 32-bit MiG,
|
||||||
|
;; hence this hack.
|
||||||
|
(package
|
||||||
|
(inherit mig)
|
||||||
|
(arguments `(#:system "i686-linux")))
|
||||||
|
mig))
|
||||||
("perl" ,perl)
|
("perl" ,perl)
|
||||||
("texinfo" ,texinfo-4)))
|
("texinfo" ,texinfo-4)))
|
||||||
(supported-systems %hurd-systems)
|
(supported-systems %hurd-systems)
|
||||||
|
|
Loading…
Reference in a new issue