diff options
| author | ruki <[email protected]> | 2020-06-20 00:43:53 +0800 |
|---|---|---|
| committer | ruki <[email protected]> | 2020-06-19 22:23:22 +0800 |
| commit | 01dd21d4f3bccda1ff18ad1213b959feeaae37eb (patch) | |
| tree | 6e6d2203e3da29323d2919d32b80303e5e98d489 /xmake/toolchains/dlang/xmake.lua | |
| parent | f5392149886b2083ec0d6db2adef3da405297fe8 (diff) | |
improve toolchain arch/plat
Diffstat (limited to 'xmake/toolchains/dlang/xmake.lua')
| -rw-r--r-- | xmake/toolchains/dlang/xmake.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/xmake/toolchains/dlang/xmake.lua b/xmake/toolchains/dlang/xmake.lua index 0c87d8505..e258e9af8 100644 --- a/xmake/toolchains/dlang/xmake.lua +++ b/xmake/toolchains/dlang/xmake.lua @@ -33,7 +33,7 @@ toolchain("dlang") -- on load on_load(function (toolchain) - local march = is_arch("x86_64", "x64") and "-m64" or "-m32" + local march = toolchain:is_arch("x86_64", "x64") and "-m64" or "-m32" toolchain:add("dcflags", march) toolchain:add("dcshflags", march) toolchain:add("dcldflags", march) |
