[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
13/17: gnu: lz4: Cross compile.
From: |
guix-commits |
Subject: |
13/17: gnu: lz4: Cross compile. |
Date: |
Mon, 16 Nov 2020 08:12:39 -0500 (EST) |
efraim pushed a commit to branch master
in repository guix.
commit dfb4a28575d7afb7883837d51249b3757761ada7
Author: Efraim Flashner <efraim@flashner.co.il>
AuthorDate: Mon Nov 16 14:38:57 2020 +0200
gnu: lz4: Cross compile.
* gnu/packages/compression.scm (lz4)[arguments]: When targeting another
system use cc-for-target in make-flags.
---
gnu/packages/compression.scm | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/gnu/packages/compression.scm b/gnu/packages/compression.scm
index c5e72a5..d61c6bf 100644
--- a/gnu/packages/compression.scm
+++ b/gnu/packages/compression.scm
@@ -804,7 +804,10 @@ decompression of some loosely related file formats used by
Microsoft.")
("valgrind" ,valgrind)))
(arguments
`(#:test-target "test"
- #:make-flags (list "CC=gcc"
+ ;; TODO: Integrate in next rebuild cycle.
+ #:make-flags (list ,(if (%current-target-system)
+ (string-append "CC=" (cc-for-target))
+ "CC=gcc")
(string-append "prefix=" (assoc-ref %outputs "out")))
#:phases (modify-phases %standard-phases
(delete 'configure) ;no configure script
- 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, 2020/11/16
- 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 <=
- 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
- 15/17: gnu: bsdiff: Cross compile., guix-commits, 2020/11/16
- 16/17: gnu: zstd: Cross compile., guix-commits, 2020/11/16