summaryrefslogtreecommitdiff
path: root/xmake/modules/core/tools/clang.lua
diff options
context:
space:
mode:
Diffstat (limited to 'xmake/modules/core/tools/clang.lua')
-rw-r--r--xmake/modules/core/tools/clang.lua5
1 files changed, 0 insertions, 5 deletions
diff --git a/xmake/modules/core/tools/clang.lua b/xmake/modules/core/tools/clang.lua
index 7dcc02b5c..a54297a4d 100644
--- a/xmake/modules/core/tools/clang.lua
+++ b/xmake/modules/core/tools/clang.lua
@@ -31,11 +31,6 @@ function init(self)
-- init super
_super.init(self)
- -- add -fPIC for shared
- if not is_plat("windows", "mingw") then
- self:add("clang.shflags", "-fPIC") -- only for clang
- end
-
-- suppress warning
self:add("cxflags", "-Qunused-arguments")
self:add("mxflags", "-Qunused-arguments")