summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xxmake/tools/gcc.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/xmake/tools/gcc.lua b/xmake/tools/gcc.lua
index 83d388721..3dcb5fcf9 100755
--- a/xmake/tools/gcc.lua
+++ b/xmake/tools/gcc.lua
@@ -298,7 +298,7 @@ function compile(sourcefile, objectfile, incdepfile, flags)
end
-- print some warnings
- if warnings and (not ok or option.get("verbose")) then
+ if warnings and option.get("verbose") then
cprint("${yellow}%s", table.concat(warnings, '\n'))
end