guix-commits
[Top][All Lists]
Advanced

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

13/14: gnu: spindle: Fix compilation with GCC 11.


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

civodul pushed a commit to branch master
in repository guix.

commit 006f9f0f21e12cdd29ae4758b778bb7ad831e291
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]