gnu: lsof: Fix cross-compilation.

* gnu/packages/lsof (lsof)[arguments]: Add LINUX_CONF_CC environment
variable.

Signed-off-by: Mathieu Othacehe <othacehe@gnu.org>
This commit is contained in:
Brian Kubisiak 2022-03-28 18:37:28 -07:00 committed by Mathieu Othacehe
parent 457999ce36
commit a006b7d347
No known key found for this signature in database
GPG Key ID: 8354763531769CA6

View File

@ -54,6 +54,7 @@
(replace 'configure
(lambda _
(setenv "LSOF_CC" ,(cc-for-target))
(setenv "LINUX_CONF_CC" "gcc")
(setenv "LSOF_MAKE" "make")
;; By default, the makefile captures the output of 'uname -a'.