summaryrefslogtreecommitdiff
path: root/xmake/scripts/platform/android
diff options
context:
space:
mode:
authorruki <[email protected]>2015-12-17 09:25:05 +0800
committerruki <[email protected]>2015-12-17 09:25:05 +0800
commit6c6b9ae901f5cf8aaf1f89d43b8f09bad832990f (patch)
tree9e46b51ab81181f8be7e42b1edfa5a0473c96fb0 /xmake/scripts/platform/android
parent61ae08bdfaf5f8dbde739677ce6997b28560a522 (diff)
fix probe g++ failed for ld
Diffstat (limited to 'xmake/scripts/platform/android')
-rw-r--r--xmake/scripts/platform/android/prober.lua14
1 files changed, 7 insertions, 7 deletions
diff --git a/xmake/scripts/platform/android/prober.lua b/xmake/scripts/platform/android/prober.lua
index a90c6bf43..a6446e0e1 100644
--- a/xmake/scripts/platform/android/prober.lua
+++ b/xmake/scripts/platform/android/prober.lua
@@ -45,7 +45,7 @@ function prober._probe_arch(configs)
configs.set("arch", "armv7-a")
-- trace
- utils.verbose("checking for the architecture ... %s", configs.get("arch"))
+ utils.printf("checking for the architecture ... %s", configs.get("arch"))
-- ok
return true
@@ -89,11 +89,11 @@ function prober._probe_ndk_sdkver(configs)
configs.set("ndk_sdkver", ndk_sdkver)
-- trace
- utils.verbose("checking for the SDK version of NDK ... %s", string.format("android-%d", ndk_sdkver))
+ utils.printf("checking for the SDK version of NDK ... %s", string.format("android-%d", ndk_sdkver))
else
-- trace
- utils.verbose("checking for the SDK version of NDK ... no")
+ utils.printf("checking for the SDK version of NDK ... no")
end
-- ok
@@ -114,7 +114,7 @@ function prober._probe_make(configs)
if make then configs.set("make", make) end
-- trace
- utils.verbose("checking for the make ... %s", utils.ifelse(make, make, "no"))
+ utils.printf("checking for the make ... %s", utils.ifelse(make, make, "no"))
-- ok
return true
@@ -145,7 +145,7 @@ function prober._probe_ccache(configs)
end
-- trace
- utils.verbose("checking for the ccache ... %s", utils.ifelse(ccache_path, ccache_path, "no"))
+ utils.printf("checking for the ccache ... %s", utils.ifelse(ccache_path, ccache_path, "no"))
-- ok
return true
@@ -200,9 +200,9 @@ function prober._probe_toolpath(configs, kind, cross, name, description)
-- trace
if toolpath then
- utils.verbose("checking for %s (%s) ... %s", description, kind, path.filename(toolpath), "no")
+ utils.printf("checking for %s (%s) ... %s", description, kind, path.filename(toolpath))
else
- utils.verbose("checking for %s (%s) ... no", description, kind)
+ utils.printf("checking for %s (%s) ... no", description, kind)
end
-- failed?