summaryrefslogtreecommitdiff
path: root/xmake/modules/package/tools/autoconf.lua
diff options
context:
space:
mode:
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