diff options
| author | ruki <[email protected]> | 2017-02-21 23:32:31 +0800 |
|---|---|---|
| committer | ruki <[email protected]> | 2017-02-21 23:32:31 +0800 |
| commit | c3d883feee28fd29cfdde759f7a5252049bc6d1e (patch) | |
| tree | c1b4e3a1768533c346d4b4a6b9ab08fa5324b5ec /xmake/tools | |
| parent | fb6033c52082b69041783dc23a8d5b07f9bf007a (diff) | |
modify flags
Diffstat (limited to 'xmake/tools')
| -rwxr-xr-x | xmake/tools/dmd.lua | 10 | ||||
| -rwxr-xr-x | xmake/tools/go.lua | 2 | ||||
| -rwxr-xr-x | xmake/tools/ldc.lua | 10 |
3 files changed, 11 insertions, 11 deletions
diff --git a/xmake/tools/dmd.lua b/xmake/tools/dmd.lua index 8329e1a3c..e71a0f51c 100755 --- a/xmake/tools/dmd.lua +++ b/xmake/tools/dmd.lua @@ -38,14 +38,14 @@ function init(shellname, kind) _g.kind = kind -- init arflags - _g["dd-arflags"] = { "-lib" } + _g.arflags = { "-lib" } -- init shflags - _g["dd-shflags"] = { "-shared", "-fPIC" } + _g.shflags = { "-shared", "-fPIC" } - -- init dflags for the kind: shared - _g.shared = {} - _g.shared.dflags = {"-fPIC"} + -- init dcflags for the kind: shared + _g.shared = {} + _g.shared.dcflags = {"-fPIC"} -- init features _g.features = diff --git a/xmake/tools/go.lua b/xmake/tools/go.lua index 578a49f6a..a8966404f 100755 --- a/xmake/tools/go.lua +++ b/xmake/tools/go.lua @@ -38,7 +38,7 @@ function init(shellname, kind) _g.kind = kind -- init arflags - _g["go-arflags"] = { "grc" } + _g.arflags = { "grc" } -- init the file formats _g.formats = {} diff --git a/xmake/tools/ldc.lua b/xmake/tools/ldc.lua index d5e6198cd..213fd7e34 100755 --- a/xmake/tools/ldc.lua +++ b/xmake/tools/ldc.lua @@ -38,14 +38,14 @@ function init(shellname, kind) _g.kind = kind -- init arflags - _g["dd-arflags"] = { "-lib" } + _g.arflags = { "-lib" } -- init shflags - _g["dd-shflags"] = { "-shared", "-fPIC" } + _g.shflags = { "-shared", "-fPIC" } - -- init dflags for the kind: shared - _g.shared = {} - _g.shared.dflags = {"-fPIC"} + -- init dcflags for the kind: shared + _g.shared = {} + _g.shared.dcflags = {"-fPIC"} -- init features _g.features = |
