[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
@ -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 New Issue
Block a user