add -fallow-argument-mismatch flag for gcc10 (#24354)
This commit is contained in:
parent
ee9b1a6ea5
commit
85c5589620
@ -28,6 +28,11 @@ class Siesta(Package):
|
|||||||
|
|
||||||
phases = ['configure', 'build', 'install']
|
phases = ['configure', 'build', 'install']
|
||||||
|
|
||||||
|
def flag_handler(self, name, flags):
|
||||||
|
if '%gcc@10:' in self.spec and name == 'fflags':
|
||||||
|
flags.append('-fallow-argument-mismatch')
|
||||||
|
return (flags, None, None)
|
||||||
|
|
||||||
def configure(self, spec, prefix):
|
def configure(self, spec, prefix):
|
||||||
sh = which('sh')
|
sh = which('sh')
|
||||||
configure_args = ['--enable-mpi',
|
configure_args = ['--enable-mpi',
|
||||||
|
Loading…
Reference in New Issue
Block a user