guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

02/03: gnu: spindle: Fix compilation with GCC 11.


From: guix-commits
Subject: 02/03: gnu: spindle: Fix compilation with GCC 11.
Date: Wed, 15 Nov 2023 05:11:46 -0500 (EST)

civodul pushed a commit to branch wip-openmpi-upgrade
in repository guix.

commit 2a73e89bcf00e7f6b0f46a8e631468f323266644
Author: Ludovic Courtès <ludo@gnu.org>
AuthorDate: Tue Nov 14 20:11:47 2023 +0100

    gnu: spindle: Fix compilation with GCC 11.
    
    * gnu/packages/admin.scm (spindle)[arguments]: Add CXXFLAGS
    to #:configure-flags.
    
    Change-Id: I660228b8839a524791273f3fc7b6935d704b6715
---
 gnu/packages/admin.scm | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/gnu/packages/admin.scm b/gnu/packages/admin.scm
index 6dbd6a116b..ad90b18885 100644
--- a/gnu/packages/admin.scm
+++ b/gnu/packages/admin.scm
@@ -4469,7 +4469,9 @@ launch daemons into the relevant nodes.")
     (build-system gnu-build-system)
     (arguments '(#:configure-flags '("--enable-sec-launchmon"
                                      "--enable-sec-munge"
-                                     "--enable-sec-none")))
+                                     "--enable-sec-none"
+                                     ;; Fails to build as c++17.
+                                     "CXXFLAGS=-std=c++14 -O2 -g")))
     (inputs
      `(("mpi" ,openmpi)
        ("munge" ,munge)



reply via email to

[Prev in Thread] Current Thread [Next in Thread]