[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
08/10: gnu: hurd: Use a 32-bit MiG when cross-compiling.
From: |
guix-commits |
Subject: |
08/10: gnu: hurd: Use a 32-bit MiG when cross-compiling. |
Date: |
Fri, 3 Apr 2020 17:15:24 -0400 (EDT) |
civodul pushed a commit to branch wip-hurd-vm
in repository guix.
commit 34439faeb73bbc3a02a3502d7d7ee2880b356427
Author: Ludovic Courtès <address@hidden>
AuthorDate: Fri Apr 3 22:20:46 2020 +0200
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'.
---
gnu/packages/hurd.scm | 8 +++++++-
1 file changed, 7 insertions(+), 1 deletion(-)
diff --git a/gnu/packages/hurd.scm b/gnu/packages/hurd.scm
index ca339d1..58d1293 100644
--- a/gnu/packages/hurd.scm
+++ b/gnu/packages/hurd.scm
@@ -368,7 +368,13 @@ boot, since this cannot be done from GNU/Linux."
(native-inputs
`(("autoconf" ,autoconf)
("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)
("texinfo" ,texinfo-4)))
(supported-systems %hurd-systems)
- branch wip-hurd-vm created (now ac209c7), guix-commits, 2020/04/03
- 03/10: vm: 'qemu-image' accepts a list of extra populate directives., guix-commits, 2020/04/03
- 05/10: gnu: gnumach: Enable kernel debugger (kbd)., guix-commits, 2020/04/03
- 02/10: install: 'populate-root-file-system' can be passed extra directives., guix-commits, 2020/04/03
- 04/10: vm: 'qemu-image' can pass options to the 'mkfs' command., guix-commits, 2020/04/03
- 01/10: gnu: gnumach: Fix compilation., guix-commits, 2020/04/03
- 10/10: gnu: hurd: Record the right file name of 'login'., guix-commits, 2020/04/03
- 06/10: DRAFT: gnu: hurd: Provide our own /libexec/rc script., guix-commits, 2020/04/03
- 07/10: gnu: cross-libc: Add patch to add 'mach_print' symbol on GNU/Hurd., guix-commits, 2020/04/03
- 08/10: gnu: hurd: Use a 32-bit MiG when cross-compiling.,
guix-commits <=
- 09/10: DRAFT: Add (gnu system hurd)., guix-commits, 2020/04/03