From d51635e6bd6d24ec7927efc706a21aebfcdd0e33 Mon Sep 17 00:00:00 2001 From: noguchi-k <55966120+noguchi-k@users.noreply.github.com> Date: Sat, 23 May 2020 00:28:57 +0900 Subject: ffr: add flag to use fixed format in which the length of one line of the source code is 255 when building with Fujitsu compiler. (#16737) * ffr: add flag to use fixed format in which the length of one line of the source code is 255 when building with Fujitsu compiler. * ffr: changed to elif. --- var/spack/repos/builtin/packages/ffr/package.py | 2 ++ 1 file changed, 2 insertions(+) (limited to 'var') diff --git a/var/spack/repos/builtin/packages/ffr/package.py b/var/spack/repos/builtin/packages/ffr/package.py index 8cd10fe538..bd3c8258d1 100644 --- a/var/spack/repos/builtin/packages/ffr/package.py +++ b/var/spack/repos/builtin/packages/ffr/package.py @@ -39,6 +39,8 @@ class Ffr(MakefilePackage): fflags = flags[:] if spec.satisfies('%gcc'): fflags.append('-ffixed-line-length-none') + elif spec.satisfies('%fj'): + fflags.append('-Fwide') d = find('.', 'src_main', recursive=True) root_dir = os.path.dirname(d[0]) make = join_path(root_dir, 'src_pre', 'src', 'Makefile') -- cgit v1.2.3-60-g2f50