unofficial mirror of guix-devel@gnu.org 
 help / color / mirror / code / Atom feed
* [PATCH] gnu: gnumach-headers: Use "--build=i586-pc-gnu" only when not cross-building.
@ 2016-06-07 12:06 Manolis Ragkousis
  2016-06-07 13:39 ` Ludovic Courtès
  0 siblings, 1 reply; 2+ messages in thread
From: Manolis Ragkousis @ 2016-06-07 12:06 UTC (permalink / raw)
  To: guix-devel

[-- Attachment #1: Type: text/plain, Size: 82 bytes --]

Hello,

This is another patch from wip-hurd for core-updates.

Thank you,
Manolis

[-- Attachment #2: 0001-gnu-gnumach-headers-Use-build-i586-pc-gnu-only-when-.patch --]
[-- Type: text/x-patch, Size: 1184 bytes --]

From 56c07fb4c8685e7705dccb4ac1814cb8a9c06451 Mon Sep 17 00:00:00 2001
From: Manolis Ragkousis <manolis837@gmail.com>
Date: Tue, 7 Jun 2016 15:01:22 +0300
Subject: [PATCH] gnu: gnumach-headers: Use "--build=i586-pc-gnu" only when not
 cross-building.

* gnu/packages/hurd.scm (gnumach-headers)[arguments]: Use "--build=i586-pc-gnu"
  only when not cross-building.
---
 gnu/packages/hurd.scm | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/gnu/packages/hurd.scm b/gnu/packages/hurd.scm
index 72e4061..a858194 100644
--- a/gnu/packages/hurd.scm
+++ b/gnu/packages/hurd.scm
@@ -55,7 +55,11 @@
 
       ;; GNU Mach supports only IA32 currently, so cheat so that we can at
       ;; least install its headers.
-      #:configure-flags '("--build=i686-pc-gnu")
+      ,@(if (%current-target-system)
+            '()
+            ;; See <http://lists.gnu.org/archive/html/bug-hurd/2015-06/msg00042.html>
+            ;; <http://lists.gnu.org/archive/html/guix-devel/2015-06/msg00716.html>
+            '(#:configure-flags '("--build=i586-pc-gnu")))
 
       #:tests? #f))
     (home-page "https://www.gnu.org/software/hurd/microkernel/mach/gnumach.html")
-- 
2.8.2


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH] gnu: gnumach-headers: Use "--build=i586-pc-gnu" only when not cross-building.
  2016-06-07 12:06 [PATCH] gnu: gnumach-headers: Use "--build=i586-pc-gnu" only when not cross-building Manolis Ragkousis
@ 2016-06-07 13:39 ` Ludovic Courtès
  0 siblings, 0 replies; 2+ messages in thread
From: Ludovic Courtès @ 2016-06-07 13:39 UTC (permalink / raw)
  To: Manolis Ragkousis; +Cc: guix-devel

Manolis Ragkousis <manolis837@gmail.com> skribis:

> From 56c07fb4c8685e7705dccb4ac1814cb8a9c06451 Mon Sep 17 00:00:00 2001
> From: Manolis Ragkousis <manolis837@gmail.com>
> Date: Tue, 7 Jun 2016 15:01:22 +0300
> Subject: [PATCH] gnu: gnumach-headers: Use "--build=i586-pc-gnu" only when not
>  cross-building.
>
> * gnu/packages/hurd.scm (gnumach-headers)[arguments]: Use "--build=i586-pc-gnu"
>   only when not cross-building.

LGTM, thanks!

Ludo’.

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2016-06-07 13:39 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-06-07 12:06 [PATCH] gnu: gnumach-headers: Use "--build=i586-pc-gnu" only when not cross-building Manolis Ragkousis
2016-06-07 13:39 ` Ludovic Courtès

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).