summaryrefslogtreecommitdiff
path: root/xmake
diff options
context:
space:
mode:
authorruki <[email protected]>2019-06-12 00:21:07 +0800
committerruki <[email protected]>2019-06-11 20:06:42 +0800
commit5d6c236deed0d4cb3abea2cf5016c6ad88a33392 (patch)
tree9168d59043275d04e5ff24231c3c4e6645c9cc16 /xmake
parent46a694b347199ab39a6693a04a4bcdee00ade063 (diff)
remove -fPIC for devlink
Diffstat (limited to 'xmake')
-rw-r--r--xmake/rules/cuda/device_link/xmake.lua3
1 files changed, 0 insertions, 3 deletions
diff --git a/xmake/rules/cuda/device_link/xmake.lua b/xmake/rules/cuda/device_link/xmake.lua
index 6921253a3..358c42d93 100644
--- a/xmake/rules/cuda/device_link/xmake.lua
+++ b/xmake/rules/cuda/device_link/xmake.lua
@@ -53,9 +53,6 @@ rule("cuda.device_link")
local culdflags = {"-dlink"}
if targetkind == "shared" then
table.insert(culdflags, "-shared")
- if not is_plat("windows") then
- table.insert(culdflags, "-Xcompiler -fPIC")
- end
end
-- get link flags