diff options
| author | OpportunityLiu <[email protected]> | 2019-05-21 11:17:10 +0800 |
|---|---|---|
| committer | OpportunityLiu <[email protected]> | 2019-05-21 11:17:10 +0800 |
| commit | a8c3110cbd68ee41150daae583ae8789eeadcaaf (patch) | |
| tree | cf523289dd801579e98a207a43874a01375c2b23 /xmake/modules/core/tools/nvcc.lua | |
| parent | 43380eb2e3a4771d9ae43b905021c1a2810bf0eb (diff) | |
remove compiler check on *nix
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 943a060d3..8578832e6 100644 --- a/xmake/modules/core/tools/nvcc.lua +++ b/xmake/modules/core/tools/nvcc.lua @@ -115,10 +115,7 @@ function nf_warning(self, level) host_warning = cl_maps[level] -- for gcc/clang, or any gnu compatible compiler on *nix else - local gcc_clang_warning = gcc_clang_maps[level] - if gcc_clang_warning and self:has_flags(' -Xcompiler "' .. gcc_clang_warning .. '"', "cxflags") then - host_warning = gcc_clang_warning - end + host_warning = gcc_clang_maps[level] end if warning and host_warning then |
