mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-12-25 22:08:16 -05:00
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".
This commit is contained in:
parent
d868655a7d
commit
31dcc27276
1 changed files with 2 additions and 2 deletions
|
@ -1,5 +1,5 @@
|
||||||
;;; GNU Guix --- Functional package management for GNU
|
;;; 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 © 2013 Andreas Enge <andreas@enge.fr>
|
||||||
;;; Copyright © 2014, 2015, 2018 Mark H Weaver <mhw@netris.org>
|
;;; Copyright © 2014, 2015, 2018 Mark H Weaver <mhw@netris.org>
|
||||||
;;; Copyright © 2015 Taylan Ulrich Bayırlı/Kammer <taylanbayirli@gmail.com>
|
;;; Copyright © 2015 Taylan Ulrich Bayırlı/Kammer <taylanbayirli@gmail.com>
|
||||||
|
@ -1763,7 +1763,7 @@ (define-public lzlib
|
||||||
(build-system gnu-build-system)
|
(build-system gnu-build-system)
|
||||||
(arguments
|
(arguments
|
||||||
`(#:configure-flags
|
`(#:configure-flags
|
||||||
(list "CC=gcc"
|
(list (string-append "CC=" ,(cc-for-target))
|
||||||
"--enable-shared"))) ; only static (.a) is built by default
|
"--enable-shared"))) ; only static (.a) is built by default
|
||||||
(home-page "https://www.nongnu.org/lzip/lzlib.html")
|
(home-page "https://www.nongnu.org/lzip/lzlib.html")
|
||||||
(synopsis "Lzip data compression C library")
|
(synopsis "Lzip data compression C library")
|
||||||
|
|
Loading…
Reference in a new issue