diff options
| author | ruki <[email protected]> | 2018-05-29 22:40:48 +0800 |
|---|---|---|
| committer | ruki <[email protected]> | 2018-05-29 10:04:52 +0800 |
| commit | 0057696fed114779e13a2cc349194ec1c4451017 (patch) | |
| tree | 118dd6bec1015f22922037cc534163a0b4d0e984 | |
| parent | 4f52f8bb0ac11246d7952ed8a895f0dd25390b78 (diff) | |
remove suppress warnings flag for clang
| -rw-r--r-- | xmake/modules/core/tools/gcc.lua | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/xmake/modules/core/tools/gcc.lua b/xmake/modules/core/tools/gcc.lua index 879232535..a5d8ce3bc 100644 --- a/xmake/modules/core/tools/gcc.lua +++ b/xmake/modules/core/tools/gcc.lua @@ -47,13 +47,6 @@ function init(self) _g.shared = {} _g.shared.cxflags = {"-fPIC"} - -- suppress warning for clang (gcc -> clang on macosx) - if self:has_flags("-Qunused-arguments") then - _g.cxflags = {"-Qunused-arguments"} - _g.mxflags = {"-Qunused-arguments"} - _g.asflags = {"-Qunused-arguments"} - end - -- init flags map _g.mapflags = { |
