diff options
-rw-r--r-- | python/servo/build_commands.py | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/python/servo/build_commands.py b/python/servo/build_commands.py index 12990921abd..e248c4a74fe 100644 --- a/python/servo/build_commands.py +++ b/python/servo/build_commands.py @@ -86,9 +86,12 @@ class MachCommands(CommandBase): env = self.build_env() if android: # Build OpenSSL for android + make_cmd = ["make"] + if jobs is not None: + make_cmd += ["-j" + jobs] with cd(self.android_support_dir()): status = subprocess.call( - ["make", "-j4", "-f", "openssl.makefile"], + make_cmd + ["-f", "openssl.makefile"], env=self.build_env()) env['OPENSSL_PATH'] = path.join(self.android_support_dir(), "openssl-1.0.1k") |