diff options
| author | OpportunityLiu <[email protected]> | 2019-06-18 18:10:48 +0800 |
|---|---|---|
| committer | OpportunityLiu <[email protected]> | 2019-06-18 18:10:48 +0800 |
| commit | 026a8aa6a02bf9c12790404b9c551abf3dfd261b (patch) | |
| tree | 13c9acd6bf397fbe8a1d0c121685693b9cffda34 /xmake/modules/core/tools/nvcc.lua | |
| parent | 9c8b83a61fce275edd3808c54f36ba368378fa5d (diff) | |
fix find_program & find_file
add path.splitenv
Diffstat (limited to 'xmake/modules/core/tools/nvcc.lua')
| -rw-r--r-- | xmake/modules/core/tools/nvcc.lua | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/xmake/modules/core/tools/nvcc.lua b/xmake/modules/core/tools/nvcc.lua index 1ddcdc562..e72857a93 100644 --- a/xmake/modules/core/tools/nvcc.lua +++ b/xmake/modules/core/tools/nvcc.lua @@ -29,11 +29,8 @@ import("private.tools.nvcc.parse_deps") -- init it function init(self) - -- init culdflags - self:set("shared.culdflags", "-shared") - -- init cuflags - if not is_plat("windows") then + if not is_plat("windows", "mingw") then self:set("shared.cuflags", "-Xcompiler -fPIC") end |
