summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorruki <[email protected]>2018-12-09 20:53:44 +0800
committerruki <[email protected]>2018-12-09 20:53:44 +0800
commitceef023dd98a60b118bb4f089376f943902177fa (patch)
tree60603269a15885145bb68f662cc5c6b0cfe6baea
parent16bfa1e8727d8f7bd43c86f52646c2d26e7cadb7 (diff)
fix unknown warning level for gcc
-rw-r--r--xmake/modules/core/tools/gcc.lua4
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"
}