[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
09/17: gnu: unifdef: Cross compile.
From: |
guix-commits |
Subject: |
09/17: gnu: unifdef: Cross compile. |
Date: |
Mon, 16 Nov 2020 08:12:38 -0500 (EST) |
efraim pushed a commit to branch master
in repository guix.
commit 40e9545632c6a5f508fb0651d1481dc9e09c82b3
Author: Efraim Flashner <efraim@flashner.co.il>
AuthorDate: Mon Nov 16 14:03:05 2020 +0200
gnu: unifdef: Cross compile.
* gnu/packages/c.scm (unifdef)[arguments]: Use cc-for-target in
make-flags.
---
gnu/packages/c.scm | 6 ++++--
1 file changed, 4 insertions(+), 2 deletions(-)
diff --git a/gnu/packages/c.scm b/gnu/packages/c.scm
index 4069bd8..c49c311 100644
--- a/gnu/packages/c.scm
+++ b/gnu/packages/c.scm
@@ -3,7 +3,7 @@
;;; Copyright © 2016, 2017, 2018, 2019 Ricardo Wurmus <rekado@elephly.net>
;;; Copyright © 2018, 2020 Tobias Geerinckx-Rice <me@tobias.gr>
;;; Copyright © 2018, 2019 Pierre Neidhardt <mail@ambrevar.xyz>
-;;; Copyright © 2019 Efraim Flashner <efraim@flashner.co.il>
+;;; Copyright © 2019, 2020 Efraim Flashner <efraim@flashner.co.il>
;;; Copyright © 2019 Guillaume Le Vaillant <glv@posteo.net>
;;; Copyright © 2019 Andreas Enge <andreas@enge.fr>
;;; Copyright © 2020 Jan (janneke) Nieuwenhuizen <janneke@gnu.org>
@@ -28,6 +28,7 @@
(define-module (gnu packages c)
#:use-module ((guix licenses) #:prefix license:)
+ #:use-module (guix utils)
#:use-module (guix packages)
#:use-module (guix download)
#:use-module (guix git-download)
@@ -518,7 +519,8 @@ replacement for the syslog() call, but retains its ease of
use.")
(arguments
`(#:phases (modify-phases %standard-phases
(delete 'configure))
- #:make-flags (list "CC=gcc" (string-append "prefix=" %output))
+ #:make-flags (list (string-append "CC=" ,(cc-for-target))
+ (string-append "prefix=" %output))
#:tests? #f)) ;no test suite
(native-inputs
`(("perl" ,perl)))
- branch master updated (f6a42ac -> 455daf4), guix-commits, 2020/11/16
- 01/17: gnu: rgbds: Cross compile., guix-commits, 2020/11/16
- 02/17: gnu: filteraudio: Cross compile., guix-commits, 2020/11/16
- 04/17: gnu: btar: Cross compile., guix-commits, 2020/11/16
- 06/17: gnu: masscan: Cross compile., guix-commits, 2020/11/16
- 09/17: gnu: unifdef: Cross compile.,
guix-commits <=
- 05/17: gnu: mktorrent: Cross compile., guix-commits, 2020/11/16
- 10/17: gnu: premake4: Cross compile., guix-commits, 2020/11/16
- 07/17: gnu: hostapd: Cross compile., guix-commits, 2020/11/16
- 12/17: gnu: bam: Cross-compile., guix-commits, 2020/11/16
- 13/17: gnu: lz4: Cross compile., guix-commits, 2020/11/16
- 14/17: gnu: squashfs-tools: Cross compile., guix-commits, 2020/11/16
- 17/17: gnu: pzstd: Cross compile., guix-commits, 2020/11/16
- 03/17: gnu: dcadec: Cross compile., guix-commits, 2020/11/16
- 08/17: gnu: dtc: Cross compile., guix-commits, 2020/11/16
- 11/17: gnu: lua: Cross compile., guix-commits, 2020/11/16