From f942c09b663c3a48a1ae22ae96b69aabc323fd31 Mon Sep 17 00:00:00 2001 From: Tobias Geerinckx-Rice Date: Mon, 23 Nov 2020 05:09:53 +0100 Subject: gnu: lsof: Cross-compile. * gnu/packages/lsof.scm (lsof)[arguments]: Use CC-FOR-TARGET. --- gnu/packages/lsof.scm | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'gnu/packages') diff --git a/gnu/packages/lsof.scm b/gnu/packages/lsof.scm index 77d93e99c7..b317902ee7 100644 --- a/gnu/packages/lsof.scm +++ b/gnu/packages/lsof.scm @@ -24,6 +24,7 @@ #: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 @@ (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'. -- cgit 1.4.1