summaryrefslogtreecommitdiff
path: root/gnu/packages/admin.scm
diff options
context:
space:
mode:
authorLudovic Courtès <ludo@gnu.org>2023-11-14 20:11:47 +0100
committerLudovic Courtès <ludo@gnu.org>2023-11-15 11:36:21 +0100
commit006f9f0f21e12cdd29ae4758b778bb7ad831e291 (patch)
tree6ce3b0bbaa9b0cbc8ab091e4d536c399dc212eeb /gnu/packages/admin.scm
parentaaee0e4af3809f8dbefb5d6efe251f0d73f8ed95 (diff)
gnu: spindle: Fix compilation with GCC 11.
* gnu/packages/admin.scm (spindle)[arguments]: Add CXXFLAGS to #:configure-flags. Change-Id: I660228b8839a524791273f3fc7b6935d704b6715
Diffstat (limited to 'gnu/packages/admin.scm')
-rw-r--r--gnu/packages/admin.scm4
1 files changed, 3 insertions, 1 deletions
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)