siesta: fix build with gfortran (#20840)
Avoid Error: Line truncated at (1) [-Werror=line-truncation]
This commit is contained in:
parent
a2d8023e2a
commit
2e299c5008
@ -45,6 +45,8 @@ def configure(self, spec, prefix):
|
|||||||
# Intel's mpiifort is not found
|
# Intel's mpiifort is not found
|
||||||
'MPIFC=%s' % spec['mpi'].mpifc
|
'MPIFC=%s' % spec['mpi'].mpifc
|
||||||
]
|
]
|
||||||
|
if self.spec.satisfies('%gcc'):
|
||||||
|
configure_args.append('FCFLAGS=-ffree-line-length-0')
|
||||||
for d in ['Obj', 'Obj_trans']:
|
for d in ['Obj', 'Obj_trans']:
|
||||||
with working_dir(d, create=True):
|
with working_dir(d, create=True):
|
||||||
sh('../Src/configure', *configure_args)
|
sh('../Src/configure', *configure_args)
|
||||||
|
Loading…
Reference in New Issue
Block a user