summaryrefslogtreecommitdiff
path: root/xmake/modules/core/tools/gcc.lua
diff options
context:
space:
mode:
authorJérôme Leclercq <[email protected]>2020-11-11 14:06:50 +0100
committerJérôme Leclercq <[email protected]>2020-11-11 14:06:50 +0100
commita456d7a16ba9a31071d1c8d785df412d68eb88e6 (patch)
tree62c19477fb2b383d08695f607cce9d92ea9562cb /xmake/modules/core/tools/gcc.lua
parentf1b890bc1717904c4e11d9cff41191e97b7ef612 (diff)
Replace extra warning by allextra
Diffstat (limited to 'xmake/modules/core/tools/gcc.lua')
-rw-r--r--xmake/modules/core/tools/gcc.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/xmake/modules/core/tools/gcc.lua b/xmake/modules/core/tools/gcc.lua
index 474244e58..99e5c38f1 100644
--- a/xmake/modules/core/tools/gcc.lua
+++ b/xmake/modules/core/tools/gcc.lua
@@ -112,9 +112,9 @@ function nf_warning(self, level)
, less = "-Wall"
, more = "-Wall"
, all = "-Wall"
+ , allextra = "-Wall -Wextra"
, everything = "-Wall -Wextra -Weffc++"
, error = "-Werror"
- , extra = "-Wextra"
}
return maps[level]
end