summaryrefslogtreecommitdiff
path: root/xmake/modules/core/tools/clang.lua
diff options
context:
space:
mode:
authorruki <[email protected]>2017-07-11 14:51:52 +0800
committerruki <[email protected]>2017-07-11 14:51:52 +0800
commit410a36dad68dc1f0b2ac9c12d861af7ab8d0b1d6 (patch)
treee33e94caea84d3a170f6dd86c36ac2e4adbd6687 /xmake/modules/core/tools/clang.lua
parent03420ca44581f299a48935ca60af4824575cd9c1 (diff)
rename has_flag to has_flags
Diffstat (limited to 'xmake/modules/core/tools/clang.lua')
-rw-r--r--xmake/modules/core/tools/clang.lua8
1 files changed, 4 insertions, 4 deletions
diff --git a/xmake/modules/core/tools/clang.lua b/xmake/modules/core/tools/clang.lua
index f391b101e..7da8dd858 100644
--- a/xmake/modules/core/tools/clang.lua
+++ b/xmake/modules/core/tools/clang.lua
@@ -48,12 +48,12 @@ end
function nf_strip(self, level)
-- the maps
- local maps =
+ local maps =
{
- debug = "-Wl,-S"
- , all = "-Wl,-S"
+ debug = "-Wl,-S"
+ , all = "-Wl,-S"
}
-- make it
- return maps[level] or ""
+ return maps[level]
end