summary refs log tree commit diff
path: root/gnu
diff options
context:
space:
mode:
authorLudovic Courtès <ludovic.courtes@inria.fr>2023-02-23 14:37:05 +0100
committerLudovic Courtès <ludo@gnu.org>2023-02-23 16:31:35 +0100
commit96c335574d25f412ef1dda8b0949e59c32a27174 (patch)
treebe463b5997d3e61beb7c5bf6bb0c84b8e055ca17 /gnu
parentf30946ce13ab7619ac3747db18003de61a0a651b (diff)
downloadguix-96c335574d25f412ef1dda8b0949e59c32a27174.tar.gz
gnu: ibutils: Fix compilation.
* gnu/packages/fabric-management.scm (ibutils)[arguments]: Add CFLAGS
to #:configure-flags.
Diffstat (limited to 'gnu')
-rw-r--r--gnu/packages/fabric-management.scm6
1 files changed, 5 insertions, 1 deletions
diff --git a/gnu/packages/fabric-management.scm b/gnu/packages/fabric-management.scm
index dc32b163da..3ab1a35d7c 100644
--- a/gnu/packages/fabric-management.scm
+++ b/gnu/packages/fabric-management.scm
@@ -169,7 +169,11 @@ interface to this library is not guaranteed to be stable.")
                                   #$(this-package-input "opensm"))
                    (string-append "--with-tk-lib="
                                   #$(this-package-input "tk") "/lib")
-                   "--disable-static")))
+                   "--disable-static"
+
+                   ;; Address this link error:
+                   ;; ld: .libs/ibis.o:/ibis/src/ibis.c:55: multiple definition of `IbisObj'; .libs/ibis_wrap.o:/ibis/src/ibis_wrap.c:3007: first defined here
+                   "CFLAGS=-O2 -g -fcommon")))
     (synopsis "InfiniBand network utilities")
     (description "These command-line utilities allow for diagnosing and
 testing InfiniBand networks.")