Always generate Java rule, it is platform agnostic.

This commit is contained in:
Jussi Pakkanen 2021-08-10 19:48:41 +03:00
parent 0b97d58548
commit f9d9cb174a
1 changed files with 1 additions and 2 deletions

View File

@ -2066,8 +2066,7 @@ https://gcc.gnu.org/bugzilla/show_bug.cgi?id=47485'''))
def generate_compile_rule_for(self, langname, compiler):
if langname == 'java':
if self.environment.machines.matches_build_machine(compiler.for_machine):
self.generate_java_compile_rule(compiler)
self.generate_java_compile_rule(compiler)
return
if langname == 'cs':
if self.environment.machines.matches_build_machine(compiler.for_machine):