siesta: fix build with gfortran (#20840)

Avoid Error: Line truncated at (1) [-Werror=line-truncation]
This commit is contained in:
Michael Kuron 2021-01-19 05:59:53 +01:00 committed by GitHub
parent a2d8023e2a
commit 2e299c5008
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -45,6 +45,8 @@ def configure(self, spec, prefix):
# Intel's mpiifort is not found
'MPIFC=%s' % spec['mpi'].mpifc
]
if self.spec.satisfies('%gcc'):
configure_args.append('FCFLAGS=-ffree-line-length-0')
for d in ['Obj', 'Obj_trans']:
with working_dir(d, create=True):
sh('../Src/configure', *configure_args)