summaryrefslogtreecommitdiff
path: root/xmake/modules/package/tools/make.lua
diff options
context:
space:
mode:
authorxqyjlj <[email protected]>2023-05-08 16:04:13 +0800
committerxqyjlj <[email protected]>2023-05-08 16:04:13 +0800
commitd73ba75d149b82adf7cc5b41c6e7e63fb20b199a (patch)
tree039a323643c51d9c01251e1217f6a7399e0764cf /xmake/modules/package/tools/make.lua
parent4fe1c80f57ce093a0f0c38100a773e9b2ad0512c (diff)
✨ feat(xmake/modules/package/tools/make.lua): fix VERBOSE sometimes don't work
Diffstat (limited to 'xmake/modules/package/tools/make.lua')
-rw-r--r--xmake/modules/package/tools/make.lua2
1 files changed, 2 insertions, 0 deletions
diff --git a/xmake/modules/package/tools/make.lua b/xmake/modules/package/tools/make.lua
index 3e2cd6703..8f0208e09 100644
--- a/xmake/modules/package/tools/make.lua
+++ b/xmake/modules/package/tools/make.lua
@@ -122,6 +122,7 @@ function build(package, configs, opt)
local argv = {"-j" .. njob}
if option.get("verbose") then
table.insert(argv, "VERBOSE=1")
+ table.insert(argv, "V=1")
end
for name, value in pairs(configs) do
value = tostring(value):trim()
@@ -149,6 +150,7 @@ function install(package, configs, opt)
local argv = {"install"}
if option.get("verbose") then
table.insert(argv, "VERBOSE=1")
+ table.insert(argv, "V=1")
end
make(package, argv, opt)
end