summaryrefslogtreecommitdiff
path: root/xmake/modules/package/tools/autoconf.lua
diff options
context:
space:
mode:
authorruki <[email protected]>2022-09-23 23:04:26 +0800
committerruki <[email protected]>2022-09-23 23:04:26 +0800
commit31e4124be2ae66eb10ac43f0b673ee1728104a67 (patch)
treecb68fceb2011c864529c910422dba7b03b02bead /xmake/modules/package/tools/autoconf.lua
parent81b9a331623e03c13eecc3c86db48b9cecc81d6b (diff)
improve verbose info
Diffstat (limited to 'xmake/modules/package/tools/autoconf.lua')
-rw-r--r--xmake/modules/package/tools/autoconf.lua4
1 files changed, 2 insertions, 2 deletions
diff --git a/xmake/modules/package/tools/autoconf.lua b/xmake/modules/package/tools/autoconf.lua
index b8429e9f5..c9fa019bf 100644
--- a/xmake/modules/package/tools/autoconf.lua
+++ b/xmake/modules/package/tools/autoconf.lua
@@ -444,7 +444,7 @@ function build(package, configs, opt)
opt = opt or {}
local njob = opt.jobs or option.get("jobs") or tostring(os.default_njob())
local argv = {"-j" .. njob}
- if option.get("verbose") then
+ if option.get("diagnosis") then
table.insert(argv, "V=1")
end
if opt.makeconfigs then
@@ -471,7 +471,7 @@ function install(package, configs, opt)
-- do install
local argv = {"install"}
- if option.get("verbose") then
+ if option.get("diagnosis") then
table.insert(argv, "V=1")
end
if opt.makeconfigs then