diff options
author | Ludovic Courtès <ludo@gnu.org> | 2020-09-26 12:04:04 +0200 |
---|---|---|
committer | Ludovic Courtès <ludo@gnu.org> | 2020-09-26 23:07:03 +0200 |
commit | 31dcc272760e464df1ae2c33740febb070563825 (patch) | |
tree | ab93ec77a2cd124c9130c65b0698ecca62aceccb /gnu/packages | |
parent | d868655a7d6e09ab47d74d637ab73b43d46147d9 (diff) | |
download | guix-31dcc272760e464df1ae2c33740febb070563825.tar.gz guix-31dcc272760e464df1ae2c33740febb070563825.zip |
gnu: lzlib: Support cross-compilation.
Until now, since lzlib's 'configure' ignores '--host', we'd always end
up building it natively.
* gnu/packages/compression.scm (lzlib)[arguments]: Use (cc-for-target)
instead of "gcc".
Diffstat (limited to 'gnu/packages')
-rw-r--r-- | gnu/packages/compression.scm | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gnu/packages/compression.scm b/gnu/packages/compression.scm index 5622af1fe9..996c7d1985 100644 --- a/gnu/packages/compression.scm +++ b/gnu/packages/compression.scm @@ -1,5 +1,5 @@ ;;; GNU Guix --- Functional package management for GNU -;;; Copyright © 2012, 2013, 2014, 2015, 2017, 2019 Ludovic Courtès <ludo@gnu.org> +;;; Copyright © 2012, 2013, 2014, 2015, 2017, 2019, 2020 Ludovic Courtès <ludo@gnu.org> ;;; Copyright © 2013 Andreas Enge <andreas@enge.fr> ;;; Copyright © 2014, 2015, 2018 Mark H Weaver <mhw@netris.org> ;;; Copyright © 2015 Taylan Ulrich Bayırlı/Kammer <taylanbayirli@gmail.com> @@ -1763,7 +1763,7 @@ Clzip is intended to be fully compatible with the regular lzip package.") (build-system gnu-build-system) (arguments `(#:configure-flags - (list "CC=gcc" + (list (string-append "CC=" ,(cc-for-target)) "--enable-shared"))) ; only static (.a) is built by default (home-page "https://www.nongnu.org/lzip/lzlib.html") (synopsis "Lzip data compression C library") |