summaryrefslogtreecommitdiff
path: root/xmake/modules/core/tools/ar.lua
diff options
context:
space:
mode:
authorruki <[email protected]>2020-07-31 00:24:59 +0800
committerruki <[email protected]>2020-07-31 00:24:59 +0800
commit20b924fdd9c5a03764c180297303a7cefc771940 (patch)
treec620215d9df9348b3362a411c1858430c60b5dc8 /xmake/modules/core/tools/ar.lua
parentd120256e16d2f1ea1b610390dd0e34737f410b54 (diff)
improve ldc2 and gdc
Diffstat (limited to 'xmake/modules/core/tools/ar.lua')
-rw-r--r--xmake/modules/core/tools/ar.lua1
1 files changed, 1 insertions, 0 deletions
diff --git a/xmake/modules/core/tools/ar.lua b/xmake/modules/core/tools/ar.lua
index 3e520f887..0a8dec91d 100644
--- a/xmake/modules/core/tools/ar.lua
+++ b/xmake/modules/core/tools/ar.lua
@@ -25,6 +25,7 @@ import("private.utils.progress")
-- init it
function init(self)
self:set("arflags", "-cr")
+ self:set("dcarflags", "-cr") -- for dlang/gdc, e.g. x86_64-unknown-linux-gnu-gcc-ar
end
-- make the strip flag