From f9d9cb174ac80aee104ed7b3fdac93d1f7978f5b Mon Sep 17 00:00:00 2001 From: Jussi Pakkanen Date: Tue, 10 Aug 2021 19:48:41 +0300 Subject: [PATCH] Always generate Java rule, it is platform agnostic. --- mesonbuild/backend/ninjabackend.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/mesonbuild/backend/ninjabackend.py b/mesonbuild/backend/ninjabackend.py index 906e896d8..44ff147a7 100644 --- a/mesonbuild/backend/ninjabackend.py +++ b/mesonbuild/backend/ninjabackend.py @@ -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):