android: compile C code with an "infinity" of threads (~12% faster)
authorAlexis Laferrière <alexis.laf@xymus.net>
Tue, 5 Aug 2014 15:15:42 +0000 (11:15 -0400)
committerAlexis Laferrière <alexis.laf@xymus.net>
Wed, 6 Aug 2014 13:59:50 +0000 (09:59 -0400)
Signed-off-by: Alexis Laferrière <alexis.laf@xymus.net>

src/android_platform.nit

index b06e2d2..8532cf8 100644 (file)
@@ -270,7 +270,7 @@ $(call import-module,android/native_app_glue)
                var release = toolcontext.opt_release.value
 
                # Compile C code (and thus Nit)
-               toolcontext.exec_and_check(["ndk-build", "-s", "-j", "4", "-C", android_project_root], "Android project error")
+               toolcontext.exec_and_check(["ndk-build", "-s", "-j", "-C", android_project_root], "Android project error")
 
                # Generate the apk
                var args = ["ant", "-q", "-f", android_project_root+"/build.xml"]