diff options
| author | ruki <[email protected]> | 2019-04-03 22:18:36 +0800 |
|---|---|---|
| committer | ruki <[email protected]> | 2019-04-03 07:51:38 +0800 |
| commit | adbcc87f0699702c32fa8dc63aa8aafaa1deca9d (patch) | |
| tree | e0bc6b981218c77081878e2ec1ff0d14296c3c01 /xmake/modules/core/tools/clang.lua | |
| parent | 09a1f710f009c7b90deea8a0e2c788551c03e66c (diff) | |
improve linker
Diffstat (limited to 'xmake/modules/core/tools/clang.lua')
| -rw-r--r-- | xmake/modules/core/tools/clang.lua | 5 |
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") |
