diff options
| author | ruki <[email protected]> | 2017-02-15 10:22:35 +0800 |
|---|---|---|
| committer | ruki <[email protected]> | 2017-02-15 10:22:35 +0800 |
| commit | 73cd519a9a8130bae7f8c6101787168681e1dcd6 (patch) | |
| tree | ffb4b9381af1c30e08e8ddbb94da7e4fb04bafe3 /xmake/tools/go.lua | |
| parent | 7f135386a31972e4f4e486ae5854115b2e1af5a2 (diff) | |
rewrite objectfiles for target
Diffstat (limited to 'xmake/tools/go.lua')
| -rwxr-xr-x | xmake/tools/go.lua | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/xmake/tools/go.lua b/xmake/tools/go.lua index 03997d889..9a3f45ab5 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.arflags = { "grcP" } + _g.arflags = { "grc" } -- init features _g.features = @@ -120,7 +120,7 @@ function compcmd(sourcefiles, objectfile, flags) end -- complie the source file -function compile(sourcefiles, objectfile, incdepfiles, flags) +function compile(sourcefiles, objectfile, incdepfile, flags) -- ensure the object directory os.mkdir(path.directory(objectfile)) |
