From 2e299c500828fd8d349ea69a240b66c53b732c0b Mon Sep 17 00:00:00 2001 From: Michael Kuron Date: Tue, 19 Jan 2021 05:59:53 +0100 Subject: siesta: fix build with gfortran (#20840) Avoid Error: Line truncated at (1) [-Werror=line-truncation] --- var/spack/repos/builtin/packages/siesta/package.py | 2 ++ 1 file changed, 2 insertions(+) (limited to 'var') diff --git a/var/spack/repos/builtin/packages/siesta/package.py b/var/spack/repos/builtin/packages/siesta/package.py index 4053d5c6db..2779e8420a 100644 --- a/var/spack/repos/builtin/packages/siesta/package.py +++ b/var/spack/repos/builtin/packages/siesta/package.py @@ -45,6 +45,8 @@ class Siesta(Package): # 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) -- cgit v1.2.3-70-g09d2