From 96c335574d25f412ef1dda8b0949e59c32a27174 Mon Sep 17 00:00:00 2001 From: Ludovic Courtès Date: Thu, 23 Feb 2023 14:37:05 +0100 Subject: gnu: ibutils: Fix compilation. * gnu/packages/fabric-management.scm (ibutils)[arguments]: Add CFLAGS to #:configure-flags. --- gnu/packages/fabric-management.scm | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) 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.") -- cgit 1.4.1