guix-commits
[Top][All Lists]
Advanced

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

branch core-updates-frozen updated: gnu: iftop: Fix build failure with G


From: guix-commits
Subject: branch core-updates-frozen updated: gnu: iftop: Fix build failure with GCC 10.
Date: Tue, 23 Nov 2021 20:17:38 -0500

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

lfam pushed a commit to branch core-updates-frozen
in repository guix.

The following commit(s) were added to refs/heads/core-updates-frozen by this 
push:
     new 57c54bf  gnu: iftop: Fix build failure with GCC 10.
57c54bf is described below

commit 57c54bff35875bd551ba3ceeed2fe480f6e11881
Author: Leo Famulari <leo@famulari.name>
AuthorDate: Tue Nov 23 20:16:53 2021 -0500

    gnu: iftop: Fix build failure with GCC 10.
    
    * gnu/packages/admin.scm (iftop)[arguments]: New field.
---
 gnu/packages/admin.scm | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/gnu/packages/admin.scm b/gnu/packages/admin.scm
index cabea29..48a9b5e 100644
--- a/gnu/packages/admin.scm
+++ b/gnu/packages/admin.scm
@@ -2937,6 +2937,9 @@ the command line.")
     (inputs
       `(("libpcap" ,libpcap)
         ("ncurses" ,ncurses)))
+    (arguments
+      ;; Fix build failure with GCC 10
+     '(#:configure-flags '("CFLAGS=-fcommon")))
     (synopsis "Monitor network usage")
     (description "Iftop does for network usage what @command{top} does
 for CPU usage.  It listens to network traffic on a named interface and



reply via email to

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