summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.gitignore2
-rw-r--r--xmake/rules/cuda/device_link/xmake.lua3
2 files changed, 1 insertions, 4 deletions
diff --git a/.gitignore b/.gitignore
index 9fab162c8..e85cd38da 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,5 +1,5 @@
# MacOS Cache
-.DS_Store/
+.DS_Store
# Xmake cache
.xmake/
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