summaryrefslogtreecommitdiff
path: root/var
diff options
context:
space:
mode:
Diffstat (limited to 'var')
-rw-r--r--var/spack/repos/builtin/packages/flux-core/package.py6
1 files changed, 6 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/flux-core/package.py b/var/spack/repos/builtin/packages/flux-core/package.py
index e0abfb0c6f..05ab82b831 100644
--- a/var/spack/repos/builtin/packages/flux-core/package.py
+++ b/var/spack/repos/builtin/packages/flux-core/package.py
@@ -176,4 +176,10 @@ class FluxCore(AutotoolsPackage):
flags = []
flags.append('-Wno-error=stringop-truncation')
+ if self.spec.satisfies('%gcc@8:') and \
+ self.spec.satisfies('@0.23.0'):
+ if flags is None:
+ flags = []
+ flags.append('-Wno-error=maybe-uninitialized')
+
return (flags, None, None)