From mboxrd@z Thu Jan 1 00:00:00 1970 From: Manolis Ragkousis Subject: [PATCH] gnu: cross-gcc-arguments: Add Hurd-core-headers lib directory to the "CROSS_LIBRARY_PATH". Date: Wed, 8 Jun 2016 17:55:00 +0300 Message-ID: <5a5a117f-6e70-2aef-ec02-d9702f8b7208@gmail.com> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="------------5C42CDEB3FEF29653932BB2D" Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:33143) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bAet1-00071y-7m for guix-devel@gnu.org; Wed, 08 Jun 2016 10:55:17 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bAesv-0002wB-Hc for guix-devel@gnu.org; Wed, 08 Jun 2016 10:55:14 -0400 List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org Sender: "Guix-devel" To: guix-devel@gnu.org This is a multi-part message in MIME format. --------------5C42CDEB3FEF29653932BB2D Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit Hello everyone, Thanks to the previous patch for cross-libc, this patch is the only change needed for cross-gcc to work properly when targeting GNU/Hurd. Thank you, Manolis --------------5C42CDEB3FEF29653932BB2D Content-Type: text/x-patch; name="0001-gnu-cross-gcc-arguments-Add-Hurd-core-headers-lib-di.patch" Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename*0="0001-gnu-cross-gcc-arguments-Add-Hurd-core-headers-lib-di.pa"; filename*1="tch" >From 77b12cc2aa1a79a2f15b96d80a14d76e3501aeb1 Mon Sep 17 00:00:00 2001 From: Manolis Ragkousis Date: Wed, 8 Jun 2016 17:46:19 +0300 Subject: [PATCH] gnu: cross-gcc-arguments: Add Hurd-core-headers lib directory to the "CROSS_LIBRARY_PATH". * gnu/packages/cross-base.scm (cross-gcc-arguments)[arguments]: Add Hurd-core-headers lib directory to the "CROSS_LIBRARY_PATH". --- gnu/packages/cross-base.scm | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/gnu/packages/cross-base.scm b/gnu/packages/cross-base.scm index db2e104..fd2fc4e 100644 --- a/gnu/packages/cross-base.scm +++ b/gnu/packages/cross-base.scm @@ -187,7 +187,9 @@ may be either a libc package or #f.)" "CROSS_OBJC_INCLUDE_PATH" "CROSS_OBJCPLUS_INCLUDE_PATH"))) (setenv "CROSS_LIBRARY_PATH" - (string-append libc "/lib")) + (string-append libc "/lib" + ;; We need this for GNU/Hurd. + ":" kernel "/lib")) (for-each (lambda (var) (and=> (getenv var) -- 2.8.2 --------------5C42CDEB3FEF29653932BB2D--