diff options
| author | ruki <[email protected]> | 2021-02-18 00:49:42 +0800 |
|---|---|---|
| committer | ruki <[email protected]> | 2021-02-18 00:49:42 +0800 |
| commit | 46e0f6a1adda408052ba5b87c244cedaae5f1d00 (patch) | |
| tree | be3ff982685afc14e7dab6f57d3801d2477ca629 /xmake/core/tool/compiler.lua | |
| parent | 6417f5b6b8aa784dc5a734511365597d707ce8dc (diff) | |
rename targetkind to kind
Diffstat (limited to 'xmake/core/tool/compiler.lua')
| -rw-r--r-- | xmake/core/tool/compiler.lua | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/xmake/core/tool/compiler.lua b/xmake/core/tool/compiler.lua index 22a4233df..b896d04b6 100644 --- a/xmake/core/tool/compiler.lua +++ b/xmake/core/tool/compiler.lua @@ -175,7 +175,7 @@ function compiler:build(sourcefiles, targetfile, opt) -- get target kind local targetkind = opt.targetkind if not targetkind and opt.target and opt.target.targetkind then - targetkind = opt.target:targetkind() + targetkind = opt.target:kind() end -- get it @@ -207,7 +207,7 @@ function compiler:buildargv(sourcefiles, targetfile, opt) -- get target kind local targetkind = opt.targetkind if not targetkind and opt.target and opt.target.targetkind then - targetkind = opt.target:targetkind() + targetkind = opt.target:kind() end -- get it @@ -297,7 +297,7 @@ function compiler:compflags(opt) -- get target kind local targetkind = opt.targetkind if not targetkind and target and target.targetkind then - targetkind = target:targetkind() + targetkind = target:kind() end -- add flags from compiler/toolchains |
