[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
26/61: gnu: tcsh: Fix cross-compilation.
From: |
guix-commits |
Subject: |
26/61: gnu: tcsh: Fix cross-compilation. |
Date: |
Wed, 21 Aug 2019 04:24:52 -0400 (EDT) |
mothacehe pushed a commit to branch wip-cross-system
in repository guix.
commit 220b6954d70aef0890ff4e780a574b4302e858b2
Author: Mathieu Othacehe <address@hidden>
Date: Fri Jul 5 18:14:12 2019 +0200
gnu: tcsh: Fix cross-compilation.
* gnu/packages/shells.scm (tcsh)[arguments]: Replace "cc" by "gcc" as
native gethost compiler when cross-compiling.
---
gnu/packages/shells.scm | 9 +++++++++
1 file changed, 9 insertions(+)
diff --git a/gnu/packages/shells.scm b/gnu/packages/shells.scm
index 0579c16..cf57815 100644
--- a/gnu/packages/shells.scm
+++ b/gnu/packages/shells.scm
@@ -11,6 +11,7 @@
;;; Copyright © 2017 Arun Isaac <address@hidden>
;;; Copyright © 2019 Meiyo Peng <address@hidden>
;;; Copyright © 2019 Timothy Sample <address@hidden>
+;;; Copyright © 2019 Mathieu Othacehe <address@hidden>
;;;
;;; This file is part of GNU Guix.
;;;
@@ -356,6 +357,14 @@ written by Paul Haahr and Byron Rakitzis.")
(arguments
`(#:phases
(modify-phases %standard-phases
+ ,@(if (%current-target-system)
+ '((add-before 'configure 'set-cross-cc
+ (lambda _
+ (substitute* "configure"
+ (("CC_FOR_GETHOST=\"cc\"")
+ "CC_FOR_GETHOST=\"gcc\""))
+ #t)))
+ '())
(add-before 'check 'patch-test-scripts
(lambda _
;; Take care of pwd
- 05/61: gnu: libxslt: Fix cross-compilation., (continued)
- 05/61: gnu: libxslt: Fix cross-compilation., guix-commits, 2019/08/21
- 34/61: gnu: lvm2: Fix cross-compilation., guix-commits, 2019/08/21
- 19/61: gnu: indent: Fix aarch64 cross-compilation., guix-commits, 2019/08/21
- 27/61: gnu: pkg-config: Fix cross-compilation., guix-commits, 2019/08/21
- 28/61: gnu: mkfontdir: Fix aarch64 cross-compilation., guix-commits, 2019/08/21
- 31/61: gnu: glibc-utf8-locales: Fix cross-compilation., guix-commits, 2019/08/21
- 40/61: gnu: procps: Fix cross-compilation., guix-commits, 2019/08/21
- 39/61: gnu: make-linux-libre: Fix cross-compilation., guix-commits, 2019/08/21
- 16/61: gnu: groff: Fix cross compilation., guix-commits, 2019/08/21
- 24/61: gnu: xmlto: Fix cross-compilation., guix-commits, 2019/08/21
- 26/61: gnu: tcsh: Fix cross-compilation.,
guix-commits <=
- 32/61: gnu: boost: Fix cross-compilation., guix-commits, 2019/08/21
- 30/61: gnu: icu4c: Fix cross-compilation., guix-commits, 2019/08/21
- 41/61: gnu: doxygen: Fix cross-compilation., guix-commits, 2019/08/21
- 42/61: gnu: guile-sqlite3: Fix cross-compilation., guix-commits, 2019/08/21
- 48/61: gnu: guile-xcb: Fix cross-compilation., guix-commits, 2019/08/21
- 51/61: gnu: console-setup: Fix cross-compilation., guix-commits, 2019/08/21
- 53/61: gnu: grub: Fix cross-compilation., guix-commits, 2019/08/21
- 43/61: gnu: guile-gcrypt: Fix cross-compilation., guix-commits, 2019/08/21
- 56/61: gexp: Use cross extensions when cross-compiling., guix-commits, 2019/08/21
- 59/61: system: vm: Add arm64 support., guix-commits, 2019/08/21