guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

branch master updated: lsof: Prevent mass-rebuild.


From: guix-commits
Subject: branch master updated: lsof: Prevent mass-rebuild.
Date: Wed, 30 Mar 2022 08:40:52 -0400

This is an automated email from the git hooks/post-receive script.

mothacehe pushed a commit to branch master
in repository guix.

The following commit(s) were added to refs/heads/master by this push:
     new 643d05eb20 lsof: Prevent mass-rebuild.
643d05eb20 is described below

commit 643d05eb205294ecc3a48b1426bdd549e8ed3298
Author: Mathieu Othacehe <othacehe@gnu.org>
AuthorDate: Wed Mar 30 14:40:04 2022 +0200

    lsof: Prevent mass-rebuild.
    
    * gnu/packages/lsof.scm (lsof): Set LINUX_CONF_CC variable only when
    cross-compiling.
---
 gnu/packages/lsof.scm | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/gnu/packages/lsof.scm b/gnu/packages/lsof.scm
index f872eb8de8..be7bf43646 100644
--- a/gnu/packages/lsof.scm
+++ b/gnu/packages/lsof.scm
@@ -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'.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]