lsof: Prevent mass-rebuild.
* gnu/packages/lsof.scm (lsof): Set LINUX_CONF_CC variable only when cross-compiling.master
parent
2387adf600
commit
643d05eb20
|
@ -54,7 +54,9 @@
|
||||||
(replace 'configure
|
(replace 'configure
|
||||||
(lambda _
|
(lambda _
|
||||||
(setenv "LSOF_CC" ,(cc-for-target))
|
(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")
|
(setenv "LSOF_MAKE" "make")
|
||||||
|
|
||||||
;; By default, the makefile captures the output of 'uname -a'.
|
;; By default, the makefile captures the output of 'uname -a'.
|
||||||
|
|
Reference in New Issue