summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--xmake/modules/core/tools/iccarm.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/xmake/modules/core/tools/iccarm.lua b/xmake/modules/core/tools/iccarm.lua
index 2d11b9d27..4764761a1 100644
--- a/xmake/modules/core/tools/iccarm.lua
+++ b/xmake/modules/core/tools/iccarm.lua
@@ -140,7 +140,7 @@ function compile(self, sourcefile, objectfile, dependinfo, flags, opt)
function (ok, warnings)
-- print some warnings
- if warnings and #warnings > 0 and policy.build_warnings(opt) then
+ if warnings and #warnings > 0 and not warnings:find("Warnings: none", 1, true) and policy.build_warnings(opt) then
if progress.showing_without_scroll() then
print("")
end