Remove a useless `cross_args` which is always empty
This commit is contained in:
parent
d451a4bd97
commit
c83b426b0f
|
@ -1675,7 +1675,6 @@ rule FORTRAN_DEP_HACK%s
|
|||
crstr = ''
|
||||
rule = 'rule %s%s_PCH\n' % (langname, crstr)
|
||||
depargs = compiler.get_dependency_gen_args('$out', '$DEPFILE')
|
||||
cross_args = []
|
||||
|
||||
quoted_depargs = []
|
||||
for d in depargs:
|
||||
|
@ -1686,9 +1685,8 @@ rule FORTRAN_DEP_HACK%s
|
|||
output = ''
|
||||
else:
|
||||
output = ' '.join(compiler.get_output_args('$out'))
|
||||
command = " command = {executable} $ARGS {cross_args} {dep_args} {output_args} {compile_only_args} $in\n".format(
|
||||
command = " command = {executable} $ARGS {dep_args} {output_args} {compile_only_args} $in\n".format(
|
||||
executable=' '.join(compiler.get_exelist()),
|
||||
cross_args=' '.join([quote_func(i) for i in cross_args]),
|
||||
dep_args=' '.join(quoted_depargs),
|
||||
output_args=output,
|
||||
compile_only_args=' '.join(compiler.get_compile_only_args())
|
||||
|
|
Loading…
Reference in New Issue