aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJussi Pakkanen <jpakkane@gmail.com>2021-08-10 19:48:41 +0300
committerJussi Pakkanen <jpakkane@gmail.com>2021-08-10 19:48:41 +0300
commit85ec93c936944b55ed2503f11c993693b5b40cf2 (patch)
tree19e168d3b92850ff2b31448f4187a2110cf3624f
parent6a83f8b9cbac9eaa31307064b589d3ef41c0a293 (diff)
downloadmeson-javacross.zip
meson-javacross.tar.gz
meson-javacross.tar.bz2
Always generate Java rule, it is platform agnostic.javacross
-rw-r--r--mesonbuild/backend/ninjabackend.py3
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):