[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
30/36: gnu: hurd: Cross-build hack: Set target i586-pc-gnu if unset.
From: |
guix-commits |
Subject: |
30/36: gnu: hurd: Cross-build hack: Set target i586-pc-gnu if unset. |
Date: |
Fri, 1 May 2020 11:54:03 -0400 (EDT) |
janneke pushed a commit to branch wip-hurd-vm
in repository guix.
commit a8c336335c541e758bab306375db72c54a9f0d7d
Author: Jan (janneke) Nieuwenhuizen <address@hidden>
AuthorDate: Thu Apr 30 00:05:16 2020 +0200
gnu: hurd: Cross-build hack: Set target i586-pc-gnu if unset.
Running
./pre-inst-env guix system vm-image --target=i586-pc-gnu
gnu/system/examples/bare-hurd.tmpl
will try to build hurd for x86_64.
* gnu/packages/hurd.scm (hurd)[arguments]: Set #:target "i586-pc-gnu" if
unset.
---
gnu/packages/hurd.scm | 6 ++++++
1 file changed, 6 insertions(+)
diff --git a/gnu/packages/hurd.scm b/gnu/packages/hurd.scm
index 12263a4..b82d12a 100644
--- a/gnu/packages/hurd.scm
+++ b/gnu/packages/hurd.scm
@@ -519,6 +519,12 @@ fsysopts / --writable\n"))
(substitute* file
(("@HURD@") out))
#t))))
+ ;; XXX guix system vm-image --target=i586-pc-gnu has
+ ;; (%current-target-system) #f
+ ,@(if (and (not (%current-target-system))
+ (not (hurd-system?)))
+ '(#:target "i586-pc-gnu")
+ '())
#:configure-flags (list (string-append "LDFLAGS=-Wl,-rpath="
%output "/lib")
"--disable-ncursesw"
- 36/36: HACK Don't fail on running host's localedef., (continued)
- 36/36: HACK Don't fail on running host's localedef., guix-commits, 2020/05/01
- 28/36: system: vm: Add defaults for the Hurd., guix-commits, 2020/05/01
- 29/36: gnu: glibc/hurd-headers: Cross-build fix for the Hurd., guix-commits, 2020/05/01
- 34/36: WIP: gnu: services: Add %hurd-bare-metal-service., guix-commits, 2020/05/01
- 32/36: DRAFT system: examples: Add bare-hurd.tmpl., guix-commits, 2020/05/01
- 35/36: HACK system: vm: Add Hurd specifics., guix-commits, 2020/05/01
- 19/36: system: hurd: Add the guix service., guix-commits, 2020/05/01
- 26/36: system: hurd: Add hurd-grub-minimal-bootloader., guix-commits, 2020/05/01
- 27/36: system: Add hurd-operating-system-directory-base-entries., guix-commits, 2020/05/01
- 31/36: gnu: hurd: Switch system in RC., guix-commits, 2020/05/01
- 30/36: gnu: hurd: Cross-build hack: Set target i586-pc-gnu if unset.,
guix-commits <=
- 33/36: DRAFT: gnu: services: Use xprogram-file., guix-commits, 2020/05/01