summaryrefslogtreecommitdiff
path: root/xmake/modules/core/tools/nvcc.lua
diff options
context:
space:
mode:
authorOpportunityLiu <[email protected]>2019-07-23 12:01:45 +0800
committerOpportunityLiu <[email protected]>2019-07-23 12:01:45 +0800
commit49f14868b5fa9bca4aa2f51ea2b70f9edae89cb6 (patch)
treee6a9f293b32156bf6eb76042e4b99a3de8e3e895 /xmake/modules/core/tools/nvcc.lua
parent23e1f7cc177c5cc6e2fd12c627bd7d2bc86d72c2 (diff)
remove unused code
Diffstat (limited to 'xmake/modules/core/tools/nvcc.lua')
-rw-r--r--xmake/modules/core/tools/nvcc.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/xmake/modules/core/tools/nvcc.lua b/xmake/modules/core/tools/nvcc.lua
index 17ad802b6..b863058e6 100644
--- a/xmake/modules/core/tools/nvcc.lua
+++ b/xmake/modules/core/tools/nvcc.lua
@@ -80,7 +80,7 @@ function nf_symbol(self, level, target)
-- check and add symbol output file
host_flags = "-Zi -Fd" .. path.join(symboldir, "compile." .. path.filename(symbolfile))
- if self:has_flags({'-Xcompiler "-Zi -FS -Fd' .. os.nuldev() .. '.pdb"'}, "cuflags", { flagskey = '-Xcompiler "-Zi -FS -Fd"' }) then
+ if self:has_flags({'-Xcompiler "-Zi -FS -Fd' .. os.nuldev() .. '.pdb"'}, "cuflags", { flagskey = '-Xcompiler "-Zi -FS -Fd"' }) then
host_flags = "-FS " .. host_flags
end
else