summaryrefslogtreecommitdiff
path: root/xmake/modules/core/tools/armasm.lua
diff options
context:
space:
mode:
Diffstat (limited to 'xmake/modules/core/tools/armasm.lua')
-rw-r--r--xmake/modules/core/tools/armasm.lua5
1 files changed, 1 insertions, 4 deletions
diff --git a/xmake/modules/core/tools/armasm.lua b/xmake/modules/core/tools/armasm.lua
index 33b77d915..2324e7d16 100644
--- a/xmake/modules/core/tools/armasm.lua
+++ b/xmake/modules/core/tools/armasm.lua
@@ -128,10 +128,7 @@ function compile(self, sourcefile, objectfile, dependinfo, flags, opt)
-- print some warnings
if warnings and #warnings > 0 and policy.build_warnings(opt) then
- if progress.showing_without_scroll() then
- print("")
- end
- cprint("${color.warning}%s", table.concat(table.slice(warnings:split('\n'), 1, 8), '\n'))
+ progress.show_output("${color.warning}%s", table.concat(table.slice(warnings:split('\n'), 1, 8), '\n'))
end
end
}