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:
parent
1d936a8cc6
commit
d51635e6bd
@ -39,6 +39,8 @@ def edit(self, spec, prefix):
|
|||||||
fflags = flags[:]
|
fflags = flags[:]
|
||||||
if spec.satisfies('%gcc'):
|
if spec.satisfies('%gcc'):
|
||||||
fflags.append('-ffixed-line-length-none')
|
fflags.append('-ffixed-line-length-none')
|
||||||
|
elif spec.satisfies('%fj'):
|
||||||
|
fflags.append('-Fwide')
|
||||||
d = find('.', 'src_main', recursive=True)
|
d = find('.', 'src_main', recursive=True)
|
||||||
root_dir = os.path.dirname(d[0])
|
root_dir = os.path.dirname(d[0])
|
||||||
make = join_path(root_dir, 'src_pre', 'src', 'Makefile')
|
make = join_path(root_dir, 'src_pre', 'src', 'Makefile')
|
||||||
|
Loading…
Reference in New Issue
Block a user