summaryrefslogtreecommitdiff
path: root/xmake/modules/core/tools/yasm.lua
diff options
context:
space:
mode:
Diffstat (limited to 'xmake/modules/core/tools/yasm.lua')
-rw-r--r--xmake/modules/core/tools/yasm.lua3
1 files changed, 2 insertions, 1 deletions
diff --git a/xmake/modules/core/tools/yasm.lua b/xmake/modules/core/tools/yasm.lua
index 056779712..80aa283c6 100644
--- a/xmake/modules/core/tools/yasm.lua
+++ b/xmake/modules/core/tools/yasm.lua
@@ -22,6 +22,7 @@
import("core.base.option")
import("core.project.policy")
import("core.language.language")
+import("utils.progress")
-- init it
function init(self)
@@ -111,7 +112,7 @@ function compile(self, sourcefile, objectfile, dependinfo, flags, opt)
if ok and errdata and policy.build_warnings(opt) then
errdata = errdata:trim()
if #errdata > 0 then
- cprint("${color.warning}%s", errdata)
+ progress.show_output("${color.warning}%s", errdata)
end
end
end