diff options
| author | ruki <[email protected]> | 2024-02-22 15:55:21 +0800 |
|---|---|---|
| committer | GitHub <[email protected]> | 2024-02-22 15:55:21 +0800 |
| commit | 91255a64bce02ee61600271b49964ed9c65727f2 (patch) | |
| tree | f3035669f0d51042390b2320149b0ef3c7c4e3cc /xmake/modules | |
| parent | 48ab510f950e4e9b9b5568665d37f658220cb032 (diff) | |
| parent | 2c97dacfe8490643fe6c8f488fea72350aa64945 (diff) | |
Merge pull request #4757 from xmake-io/ccbin
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" |
