This patch adds the flag "--disable-libcilkrts" to both cross-gcc,
because currently the build fails when targeting the Hurd.

This patch applies on a rebased wip-hurd on current core-updates branch.

Manolis
From 37d96c984baeb4e2857d8338fae3e9459140e8f5 Mon Sep 17 00:00:00 2001
From: Manolis Ragkousis <manolis...@gmail.com>
Date: Sun, 19 Jul 2015 18:16:51 +0300
Subject: [PATCH] gnu: cross-base: Disable libcilkrts in cross-gcc.

* gnu/packages/cross-base.scm (cross-gcc-arguments): Add "--disable-libcilkrts".
---
 gnu/packages/cross-base.scm | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/gnu/packages/cross-base.scm b/gnu/packages/cross-base.scm
index e2171f8..7b2e438 100644
--- a/gnu/packages/cross-base.scm
+++ b/gnu/packages/cross-base.scm
@@ -101,7 +101,9 @@ may be either a libc package or #f.)"
        ((#:configure-flags flags)
         `(append (list ,(string-append "--target=" target)
                        ,@(if libc
-                             '()
+                             `( ;; Disable libcilkrts because it causes the
+                                ;; build to fail when targeting the Hurd.
+                               "--disable-libcilkrts")
                              `( ;; Disable features not needed at this stage.
                                "--disable-shared" "--enable-static"
 
@@ -117,6 +119,7 @@ may be either a libc package or #f.)"
                                "--disable-libssp"
                                "--disable-libquadmath"
                                "--disable-decimal-float" ;would need libc
+                               "--disable-libcilkrts"
                                )))
 
                  ,(if libc
-- 
2.4.6

Reply via email to