lsof: Prevent mass-rebuild.

* gnu/packages/lsof.scm (lsof): Set LINUX_CONF_CC variable only when
cross-compiling.
This commit is contained in:
Mathieu Othacehe 2022-03-30 14:40:04 +02:00
parent 2387adf600
commit 643d05eb20
No known key found for this signature in database
GPG Key ID: 8354763531769CA6

View File

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