[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
92/104: gnu: alpine: Support cross-gcc'ing.
From: |
guix-commits |
Subject: |
92/104: gnu: alpine: Support cross-gcc'ing. |
Date: |
Sun, 17 May 2020 11:36:51 -0400 (EDT) |
nckx pushed a commit to branch core-updates
in repository guix.
commit e8ead164239d8adb0c61b046f69030e4159af47f
Author: Tobias Geerinckx-Rice <address@hidden>
AuthorDate: Sun May 17 02:51:04 2020 +0200
gnu: alpine: Support cross-gcc'ing.
* gnu/packages/mail.scm (alpine)[arguments]: Use ${target}-gcc when
cross-compiling.
---
gnu/packages/mail.scm | 6 +++++-
1 file changed, 5 insertions(+), 1 deletion(-)
diff --git a/gnu/packages/mail.scm b/gnu/packages/mail.scm
index 6e39dc2..e6728aa 100644
--- a/gnu/packages/mail.scm
+++ b/gnu/packages/mail.scm
@@ -2703,7 +2703,11 @@ operators and scripters.")
#t))))
(build-system gnu-build-system)
(arguments
- `(#:make-flags (list "CC=gcc")
+ `(#:make-flags
+ (let ((target ,(%current-target-system)))
+ (list (string-append "CC=" (if target
+ (string-append target "-gcc")
+ "gcc"))))
#:configure-flags (list (string-append "--with-ssl-include-dir="
(assoc-ref %build-inputs
"openssl")
"/include/openssl")
- 66/104: gnu: Add font-api-mj-mincho., (continued)
- 66/104: gnu: Add font-api-mj-mincho., guix-commits, 2020/05/17
- 74/104: gnu: multipath-tools: Fetch with git., guix-commits, 2020/05/17
- 76/104: gnu: gajim: Adapt search path for Python 3.8., guix-commits, 2020/05/17
- 77/104: gnu: heimdal: Update to 7.7.0., guix-commits, 2020/05/17
- 78/104: gnu: multipath-tools: Enable tests., guix-commits, 2020/05/17
- 81/104: gnu: drumkv1: Update to 0.9.14., guix-commits, 2020/05/17
- 83/104: gnu: padthv1: Update to 0.9.14., guix-commits, 2020/05/17
- 88/104: gnu: julius: Remove unused bundled libraries., guix-commits, 2020/05/17
- 79/104: gnu: guile-hall: Update to 0.3.1., guix-commits, 2020/05/17
- 82/104: gnu: samplv1: Update to 0.9.14., guix-commits, 2020/05/17
- 92/104: gnu: alpine: Support cross-gcc'ing.,
guix-commits <=
- 93/104: gnu: soundconverter: Update to 3.0.2., guix-commits, 2020/05/17
- 84/104: gnu: supertux: Update to 0.6.2., guix-commits, 2020/05/17
- 86/104: gnu: mumble: End phase with #t., guix-commits, 2020/05/17
- 89/104: gnu: java-xz: Remove duplicate definition., guix-commits, 2020/05/17
- 90/104: gnu: spiped: Update to 1.6.1., guix-commits, 2020/05/17
- 85/104: gnu: java-jmapviewer: Return #t from all phases., guix-commits, 2020/05/17
- 91/104: gnu: alpine: Update to 2.22., guix-commits, 2020/05/17
- 101/104: gnu: cups: Update to 2.3.3 [fixes CVE-2020-3898 & CVE-2019-8842]., guix-commits, 2020/05/17
- 103/104: gnu: cups, cups-minimal: Ungraft 2.3.3., guix-commits, 2020/05/17
- 104/104: gnu: cups-filters: Update to 1.27.4., guix-commits, 2020/05/17