diff options
author | Jussi Pakkanen <jpakkane@gmail.com> | 2021-08-10 19:48:41 +0300 |
---|---|---|
committer | Jussi Pakkanen <jpakkane@gmail.com> | 2021-08-11 21:54:54 +0300 |
commit | f9d9cb174ac80aee104ed7b3fdac93d1f7978f5b (patch) | |
tree | 1ef23fc42f04e72fbc87277d3d23684e7cd709e4 | |
parent | 0b97d585480e973d8b149618901f7a4ddfa1a906 (diff) | |
download | meson-f9d9cb174ac80aee104ed7b3fdac93d1f7978f5b.zip meson-f9d9cb174ac80aee104ed7b3fdac93d1f7978f5b.tar.gz meson-f9d9cb174ac80aee104ed7b3fdac93d1f7978f5b.tar.bz2 |
Always generate Java rule, it is platform agnostic.
-rw-r--r-- | mesonbuild/backend/ninjabackend.py | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/mesonbuild/backend/ninjabackend.py b/mesonbuild/backend/ninjabackend.py index 906e896..44ff147 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): |