binutils: fix build with gcc@10: (#16661)
The issue seems to be fixed in the development version already.
This commit is contained in:
parent
e0572a7d96
commit
154504da71
1 changed files with 3 additions and 0 deletions
|
@ -124,4 +124,7 @@ def flag_handler(self, name, flags):
|
|||
and (self.compiler.name == 'fj' or self.compiler.name == 'clang')\
|
||||
and self.version <= ver('2.31.1'):
|
||||
flags.append('-Wno-narrowing')
|
||||
elif name == 'cflags':
|
||||
if self.spec.satisfies('@:2.34 %gcc@10:'):
|
||||
flags.append('-fcommon')
|
||||
return (flags, None, None)
|
||||
|
|
Loading…
Reference in a new issue