summaryrefslogtreecommitdiff
path: root/xmake/modules/core
diff options
context:
space:
mode:
authorruki <[email protected]>2018-10-16 00:49:09 +0800
committerruki <[email protected]>2018-10-15 22:54:56 +0800
commit29598d7ee9489d7383ac2bb4da48264c99539477 (patch)
tree10533890e42baeb26fe928c333206382d5c5f850 /xmake/modules/core
parente7bebb2e4c03c85e801c6b7e2e7131da5dec7869 (diff)
remove some unsupported nvcc flags
Diffstat (limited to 'xmake/modules/core')
-rw-r--r--xmake/modules/core/tools/nvcc.lua26
1 files changed, 0 insertions, 26 deletions
diff --git a/xmake/modules/core/tools/nvcc.lua b/xmake/modules/core/tools/nvcc.lua
index 0e9a16dc2..316dae6ea 100644
--- a/xmake/modules/core/tools/nvcc.lua
+++ b/xmake/modules/core/tools/nvcc.lua
@@ -48,10 +48,6 @@ function init(self)
["-W1"] = "-Wall"
, ["-W2"] = "-Wall"
, ["-W3"] = "-Wall"
-
- -- strip
- , ["-s"] = "-s"
- , ["-S"] = "-S"
}
-- init buildmodes
@@ -66,27 +62,6 @@ function get(self, name)
return _g[name]
end
--- make the strip flag
-function nf_strip(self, level)
-
- -- the maps
- local maps =
- {
- debug = "-S"
- , all = "-s"
- }
-
- -- for macho target
- local plat = config.plat()
- if plat == "macosx" or plat == "iphoneos" then
- maps.all = "-Wl,-x"
- maps.debug = "-Wl,-S"
- end
-
- -- make it
- return maps[level]
-end
-
-- make the symbol flag
function nf_symbol(self, level)
@@ -94,7 +69,6 @@ function nf_symbol(self, level)
local maps =
{
debug = "-g"
- , hidden = "-fvisibility=hidden"
}
-- make it