Remove unsuppoorted flags of cl.exe in default cuflags
@@ -37,7 +37,7 @@ function main(platform)
platform:add("dc-ldflags", dc_archs[arch])
-- init flags for cuda
- local cu_archs = { x86 = "-m32 -Xcompiler -m32", x64 = "-m64 -Xcompiler -m64" }
+ local cu_archs = { x86 = "-m32", x64 = "-m64" }
platform:add("cuflags", cu_archs[arch] or "")
platform:add("cu-shflags", cu_archs[arch] or "")
platform:add("cu-ldflags", cu_archs[arch] or "")
