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.
This commit is contained in:
noguchi-k 2020-05-23 00:28:57 +09:00 committed by GitHub
parent 1d936a8cc6
commit d51635e6bd
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -39,6 +39,8 @@ def edit(self, spec, prefix):
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')