summary refs log tree commit diff
diff options
context:
space:
mode:
authorLeo Famulari <leo@famulari.name>2021-11-23 20:16:53 -0500
committerLeo Famulari <leo@famulari.name>2021-11-23 20:17:18 -0500
commit57c54bff35875bd551ba3ceeed2fe480f6e11881 (patch)
tree7e4003be9ee35fcee76a1b1d22db7ce1ff52d2a0
parentc0e7242aa18d9b88a1d737f0b22389b680d3ada7 (diff)
downloadguix-57c54bff35875bd551ba3ceeed2fe480f6e11881.tar.gz
gnu: iftop: Fix build failure with GCC 10.
* gnu/packages/admin.scm (iftop)[arguments]: New field.
-rw-r--r--gnu/packages/admin.scm3
1 files changed, 3 insertions, 0 deletions
diff --git a/gnu/packages/admin.scm b/gnu/packages/admin.scm
index cabea29c17..48a9b5e54d 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