summaryrefslogtreecommitdiff
path: root/xmake/modules/core/tools/ar.lua
diff options
context:
space:
mode:
authorruki <[email protected]>2018-11-13 22:48:36 +0800
committerruki <[email protected]>2018-11-13 10:51:40 +0800
commit7d234801498d6e272d780407695ebff89a64d675 (patch)
tree28313737e1c44c3d639fbf49ab05ed0bc68ec1d4 /xmake/modules/core/tools/ar.lua
parentbcfe7b269dc8ccca180099c8ce62f333a405ed11 (diff)
improve compiler tools
Diffstat (limited to 'xmake/modules/core/tools/ar.lua')
-rw-r--r--xmake/modules/core/tools/ar.lua7
1 files changed, 1 insertions, 6 deletions
diff --git a/xmake/modules/core/tools/ar.lua b/xmake/modules/core/tools/ar.lua
index 2834e111c..9ade87e08 100644
--- a/xmake/modules/core/tools/ar.lua
+++ b/xmake/modules/core/tools/ar.lua
@@ -27,12 +27,7 @@ import("core.tool.compiler")
-- init it
function init(self)
- _g.arflags = { "-cr" }
-end
-
--- get the property
-function get(self, name)
- return _g[name]
+ self:set("arflags", "-cr")
end
-- make the strip flag