summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOpportunityLiu <[email protected]>2019-05-21 18:17:21 +0800
committerOpportunityLiu <[email protected]>2019-05-21 18:17:21 +0800
commitf7252184c07d7708e9270a51523e46957e054f1c (patch)
tree4b7e55fb9a0cdece12f1d872980b7680a0c4dede
parent9921a973ef37a89394f9a96366cd29eb70b6ba02 (diff)
remove empty flags
-rw-r--r--xmake/modules/core/tools/nvcc.lua6
1 files changed, 3 insertions, 3 deletions
diff --git a/xmake/modules/core/tools/nvcc.lua b/xmake/modules/core/tools/nvcc.lua
index b284313a7..560145fde 100644
--- a/xmake/modules/core/tools/nvcc.lua
+++ b/xmake/modules/core/tools/nvcc.lua
@@ -73,9 +73,9 @@ function nf_warning(self, level)
local maps =
{
none = "-w"
- , less = ""
- , more = ""
- , all = ""
+ , less = nil
+ , more = nil
+ , all = nil
, extra = "-Wreorder"
, everything = "-Wreorder"
, error = "-Werror"