summary refs log tree commit diff
path: root/gnu
diff options
context:
space:
mode:
Diffstat (limited to 'gnu')
-rw-r--r--gnu/packages/fabric-management.scm23
1 files changed, 14 insertions, 9 deletions
diff --git a/gnu/packages/fabric-management.scm b/gnu/packages/fabric-management.scm
index 9b30b09df5..e822a3fb20 100644
--- a/gnu/packages/fabric-management.scm
+++ b/gnu/packages/fabric-management.scm
@@ -193,16 +193,21 @@ testing InfiniBand networks.")
                 "0x3clvy716i7va4m4adgx6ihjsfnzrkdizhxz5v52944dkglpc8n"))))
     (build-system gnu-build-system)
     (arguments
-     '( ;; These are the flags found in 'contrib/configure-release'.
-       #:configure-flags (list "--enable-optimizations"
-                               "--disable-logging"
-                               "--disable-debug"
-                               "--disable-assertions"
-                               "--disable-params-check"
+     '( ;; These are some of the flags found in 'contrib/configure-release'.
+       #:configure-flags (list
+                          ;; XXX: Disable optimizations specific to the build
+                          ;; machine (AVX, etc.)  There's apparently no way to
+                          ;; have them picked up at load time.
+                          "--disable-optimizations"
 
-                               (string-append "--with-rdmacm="
-                                              (assoc-ref %build-inputs
-                                                         "rdma-core")))))
+                          "--disable-logging"
+                          "--disable-debug"
+                          "--disable-assertions"
+                          "--disable-params-check"
+
+                          (string-append "--with-rdmacm="
+                                         (assoc-ref %build-inputs
+                                                    "rdma-core")))))
     (native-inputs
      `(("autoconf" ,autoconf)
        ("automake" ,automake)