summaryrefslogtreecommitdiff
path: root/xmake/modules/core/tools
diff options
context:
space:
mode:
authorruki <[email protected]>2017-07-21 11:05:53 +0800
committerruki <[email protected]>2017-07-21 11:05:53 +0800
commit16af707201c013f9b1be26bba7aceed349019631 (patch)
tree278369151f8ff9f4b65ad0c3e96cfa76a8f9f4d2 /xmake/modules/core/tools
parent5bac5ca75bfcbf449007ce5f8a94bdce1b81b0bb (diff)
fix compile shared lib using clang on linux
Diffstat (limited to 'xmake/modules/core/tools')
-rw-r--r--xmake/modules/core/tools/clang.lua3
1 files changed, 0 insertions, 3 deletions
diff --git a/xmake/modules/core/tools/clang.lua b/xmake/modules/core/tools/clang.lua
index 7da8dd858..46f1a16c6 100644
--- a/xmake/modules/core/tools/clang.lua
+++ b/xmake/modules/core/tools/clang.lua
@@ -31,9 +31,6 @@ function init(self)
-- init super
_super.init(self)
- -- init shflags
- _super._g.shflags = { "-dynamiclib", "-fPIC" }
-
-- suppress warning
_super._g.cxflags = {"-Qunused-arguments"}
_super._g.mxflags = {"-Qunused-arguments"}