summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--xmake/modules/core/tools/gcc.lua7
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 =
{