diff options
| author | ruki <[email protected]> | 2017-01-05 12:21:47 +0800 |
|---|---|---|
| committer | ruki <[email protected]> | 2017-01-06 17:20:08 +0800 |
| commit | 06a7207823add9becd9f0929c9ed1b4eb2a1ab44 (patch) | |
| tree | 0be56e438024a8da15c9e70cd61e25116b2ecd8d | |
| parent | 2e58f26793dc910c024eeba4adb6d52df26e0e22 (diff) | |
adjust warning strategy
| -rwxr-xr-x | xmake/tools/gcc.lua | 2 |
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 |
