mirror of
https://git.savannah.gnu.org/git/guix.git
synced 2025-01-19 05:57:04 +01:00
gnu: lsof: Cross-compile.
* gnu/packages/lsof.scm (lsof)[arguments]: Use CC-FOR-TARGET.
This commit is contained in:
parent
2bf502138c
commit
f942c09b66
1 changed files with 2 additions and 1 deletions
|
@ -24,6 +24,7 @@ (define-module (gnu packages lsof)
|
|||
#:use-module (guix packages)
|
||||
#:use-module (guix git-download)
|
||||
#:use-module (guix build-system gnu)
|
||||
#:use-module (guix utils)
|
||||
#:use-module (gnu packages)
|
||||
#:use-module (gnu packages groff)
|
||||
#:use-module (gnu packages perl))
|
||||
|
@ -51,7 +52,7 @@ (define-public lsof
|
|||
(modify-phases %standard-phases
|
||||
(replace 'configure
|
||||
(lambda _
|
||||
(setenv "LSOF_CC" "gcc")
|
||||
(setenv "LSOF_CC" ,(cc-for-target))
|
||||
(setenv "LSOF_MAKE" "make")
|
||||
|
||||
;; By default, the makefile captures the output of 'uname -a'.
|
||||
|
|
Loading…
Reference in a new issue