summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Kuron <mkuron@users.noreply.github.com>2021-01-19 05:59:53 +0100
committerGitHub <noreply@github.com>2021-01-18 22:59:53 -0600
commit2e299c500828fd8d349ea69a240b66c53b732c0b (patch)
treeb6893847e62222b47f6a1d39af5d96021bca8379
parenta2d8023e2a7282e60325f64fe6e34273795f0e89 (diff)
downloadspack-2e299c500828fd8d349ea69a240b66c53b732c0b.tar.gz
spack-2e299c500828fd8d349ea69a240b66c53b732c0b.tar.bz2
spack-2e299c500828fd8d349ea69a240b66c53b732c0b.tar.xz
spack-2e299c500828fd8d349ea69a240b66c53b732c0b.zip
siesta: fix build with gfortran (#20840)
Avoid Error: Line truncated at (1) [-Werror=line-truncation]
-rw-r--r--var/spack/repos/builtin/packages/siesta/package.py2
1 files changed, 2 insertions, 0 deletions
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)