diff options
Diffstat (limited to 'xmake/modules')
| -rw-r--r-- | xmake/modules/core/tools/nvcc.lua | 9 |
1 files changed, 1 insertions, 8 deletions
diff --git a/xmake/modules/core/tools/nvcc.lua b/xmake/modules/core/tools/nvcc.lua index 127f51656..a7ef324f3 100644 --- a/xmake/modules/core/tools/nvcc.lua +++ b/xmake/modules/core/tools/nvcc.lua @@ -37,15 +37,8 @@ function init(self) self:set("binary.cuflags", "-Xcompiler -fPIE") end - -- add -ccbin - local cu_ccbin = platform.tool("cu-ccbin") - if cu_ccbin then - self:add("cuflags", "-ccbin=" .. os.args(cu_ccbin)) - end - -- init flags map - self:set("mapflags", - { + self:set("mapflags", { -- warnings ["-W4"] = "-Wreorder --Wno-deprecated-gpu-targets --Wno-deprecated-declarations" , ["-Wextra"] = "-Wreorder --Wno-deprecated-gpu-targets --Wno-deprecated-declarations" |
