diff options
| author | ruki <[email protected]> | 2018-10-16 00:49:09 +0800 |
|---|---|---|
| committer | ruki <[email protected]> | 2018-10-15 22:54:56 +0800 |
| commit | 29598d7ee9489d7383ac2bb4da48264c99539477 (patch) | |
| tree | 10533890e42baeb26fe928c333206382d5c5f850 /xmake/modules/core | |
| parent | e7bebb2e4c03c85e801c6b7e2e7131da5dec7869 (diff) | |
remove some unsupported nvcc flags
Diffstat (limited to 'xmake/modules/core')
| -rw-r--r-- | xmake/modules/core/tools/nvcc.lua | 26 |
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 |
