me
/
guix
Archived
1
0
Fork 0

gnu: ibutils: Fix compilation.

* gnu/packages/fabric-management.scm (ibutils)[arguments]: Add CFLAGS
to #:configure-flags.
Ludovic Courtès 2023-02-23 14:37:05 +01:00 committed by Ludovic Courtès
parent f30946ce13
commit 96c335574d
No known key found for this signature in database
GPG Key ID: 090B11993D9AEBB5
1 changed files with 5 additions and 1 deletions

View File

@ -169,7 +169,11 @@ interface to this library is not guaranteed to be stable.")
#$(this-package-input "opensm")) #$(this-package-input "opensm"))
(string-append "--with-tk-lib=" (string-append "--with-tk-lib="
#$(this-package-input "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") (synopsis "InfiniBand network utilities")
(description "These command-line utilities allow for diagnosing and (description "These command-line utilities allow for diagnosing and
testing InfiniBand networks.") testing InfiniBand networks.")