[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
15/33: gnu: tcsh: Fix cross-compilation.
From: |
guix-commits |
Subject: |
15/33: gnu: tcsh: Fix cross-compilation. |
Date: |
Tue, 24 Sep 2019 02:17:48 -0400 (EDT) |
mothacehe pushed a commit to branch core-updates-next
in repository guix.
commit 2b9ef6e5ef13a4f17312633e514f034f7fd6f155
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
- 13/33: gnu: xmlto: Fix cross-compilation., (continued)
- 13/33: gnu: xmlto: Fix cross-compilation., guix-commits, 2019/09/24
- 10/33: gnu: ath9k-htc-firmware: Fix cross compilation., guix-commits, 2019/09/24
- 12/33: gnu: help2man: Fix cross-compilation., guix-commits, 2019/09/24
- 24/33: gnu: indent: Fix aarch64 cross-compilation., guix-commits, 2019/09/24
- 23/33: gnu: libpaper: Fix aarch64 cross-compilation., guix-commits, 2019/09/24
- 27/33: gnu: lvm2: Fix cross-compilation., guix-commits, 2019/09/24
- 07/33: gnu: python: Further cross-compilation fixes., guix-commits, 2019/09/24
- 33/33: gnu: libtool: Fix cross-compilation., guix-commits, 2019/09/24
- 21/33: gnu: guile-xcb: Fix cross-compilation., guix-commits, 2019/09/24
- 30/33: gnu: console-setup: Fix cross-compilation., guix-commits, 2019/09/24
- 15/33: gnu: tcsh: Fix cross-compilation.,
guix-commits <=
- 14/33: gnu: libarchive: Fix cross-compilation., guix-commits, 2019/09/24
- 18/33: gnu: texinfo: Fix cross-compilation., guix-commits, 2019/09/24
- 26/33: gnu: mkfontdir: Fix aarch64 cross-compilation., guix-commits, 2019/09/24
- 22/33: gnu: libgpg-error: Fix cross compilation., guix-commits, 2019/09/24
- 29/33: gnu: procps: Fix cross-compilation., guix-commits, 2019/09/24
- 20/33: gnu: texinfo-4: Fix cross compilation, guix-commits, 2019/09/24
- 28/33: gnu: nghttp2: Fix cross-compilation., guix-commits, 2019/09/24
- 16/33: gnu: pkg-config: Fix cross-compilation., guix-commits, 2019/09/24
- 19/33: gnu: texinfo-5: Fix cross-compilation., guix-commits, 2019/09/24
- 25/33: gnu: libsamplerate: Fix aarch64 cross-compilation., guix-commits, 2019/09/24