summaryrefslogtreecommitdiff
path: root/xmake/tools/clang.lua
diff options
context:
space:
mode:
authorruki <[email protected]>2016-06-23 21:36:36 +0800
committerruki <[email protected]>2016-06-23 21:36:36 +0800
commit4381693071ffc2c7289d0b2ec08d6f17d3db5154 (patch)
treef17dd40c1499a177c346b5ef30b3438bb16c53c6 /xmake/tools/clang.lua
parent9927780525ca16f6c77a86c50b51f6a4fa8eb21a (diff)
support -std=c++11 for clang
Diffstat (limited to 'xmake/tools/clang.lua')
-rwxr-xr-xxmake/tools/clang.lua4
1 files changed, 2 insertions, 2 deletions
diff --git a/xmake/tools/clang.lua b/xmake/tools/clang.lua
index 27bce4e3a..479cdd952 100755
--- a/xmake/tools/clang.lua
+++ b/xmake/tools/clang.lua
@@ -24,10 +24,10 @@
inherit("gcc")
-- init it
-function init(shellname)
+function init(shellname, kind)
-- init super
- _super.init(shellname or "clang")
+ _super.init(shellname or "clang", kind)
-- init shflags
_super._g.shflags = { "-dynamiclib", "-fPIC" }