mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-11-08 07:56:16 -05: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
1 changed files with 4 additions and 1 deletions
|
@ -804,7 +804,10 @@ (define-public lz4
|
|||
("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