mirror of
git://git.savannah.gnu.org/guix.git
synced 2023-12-14 03:33:07 +01:00
gnu: lz4: Cross compile.
* gnu/packages/compression.scm (lz4)[arguments]: When targeting another system use cc-for-target in make-flags.
This commit is contained in:
parent
60587450e0
commit
dfb4a28575
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue