diff options
| author | ruki <[email protected]> | 2024-02-22 00:58:20 +0800 |
|---|---|---|
| committer | ruki <[email protected]> | 2024-02-22 00:58:20 +0800 |
| commit | 2c97dacfe8490643fe6c8f488fea72350aa64945 (patch) | |
| tree | 837d55cb521cbd4d7b09d320592376928681034c /xmake/modules | |
| parent | 76558d21fd3277f5f8d7c43c69d0b24f68ca4acd (diff) | |
improve ccbin #4755
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" |
