diff options
| author | ruki <[email protected]> | 2018-12-09 20:53:44 +0800 |
|---|---|---|
| committer | ruki <[email protected]> | 2018-12-09 20:53:44 +0800 |
| commit | ceef023dd98a60b118bb4f089376f943902177fa (patch) | |
| tree | 60603269a15885145bb68f662cc5c6b0cfe6baea | |
| parent | 16bfa1e8727d8f7bd43c86f52646c2d26e7cadb7 (diff) | |
fix unknown warning level for gcc
| -rw-r--r-- | xmake/modules/core/tools/gcc.lua | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/xmake/modules/core/tools/gcc.lua b/xmake/modules/core/tools/gcc.lua index 3a9fab612..e94eb5827 100644 --- a/xmake/modules/core/tools/gcc.lua +++ b/xmake/modules/core/tools/gcc.lua @@ -120,8 +120,8 @@ function nf_warning(self, level) local maps = { none = "-w" - , less = "-W1" - , more = "-W3" + , less = "-Wall" + , more = "-Wall" , all = "-Wall" , error = "-Werror" } |
