mirror of
https://git.savannah.gnu.org/git/guix.git
synced 2025-01-18 21:46:35 +01:00
gnu: libtermkey: Prepare for cross-compilation.
* gnu/packages/terminals.scm (libtermkey)[arguments]: Use CC-FOR-TARGET.
This commit is contained in:
parent
a79041f0b5
commit
ede2e1f434
1 changed files with 3 additions and 2 deletions
|
@ -48,6 +48,7 @@ (define-module (gnu packages terminals)
|
|||
#:use-module (guix download)
|
||||
#:use-module (guix git-download)
|
||||
#:use-module (guix packages)
|
||||
#:use-module (guix utils)
|
||||
#:use-module (gnu packages)
|
||||
#:use-module (gnu packages autotools)
|
||||
#:use-module (gnu packages check)
|
||||
|
@ -348,8 +349,8 @@ (define-public libtermkey
|
|||
(base32 "0psd0kf10q5ixfima0mxz10syy7qq1ilz1npr0rz862xycvzgjyf"))))
|
||||
(build-system gnu-build-system)
|
||||
(arguments
|
||||
'(#:make-flags (list
|
||||
"CC=gcc"
|
||||
`(#:make-flags (list
|
||||
(string-append "CC=" ,(cc-for-target))
|
||||
(string-append "PREFIX=" (assoc-ref %outputs "out")))
|
||||
#:phases (modify-phases %standard-phases
|
||||
(delete 'configure)) ; no configure script
|
||||
|
|
Loading…
Reference in a new issue