[flux-core] add -Wno-errpr=maybe-uninitialized (#21943)
Co-authored-by: Stephen Herbein <SteVwonder@users.noreply.github.com>
This commit is contained in:
parent
87dd060c20
commit
476444c592
1 changed files with 6 additions and 0 deletions
|
@ -176,4 +176,10 @@ def flag_handler(self, name, flags):
|
|||
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)
|
||||
|
|
Loading…
Reference in a new issue