diff options
Diffstat (limited to 'xmake/modules/core/tools/cosmocc.lua')
| -rw-r--r-- | xmake/modules/core/tools/cosmocc.lua | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/xmake/modules/core/tools/cosmocc.lua b/xmake/modules/core/tools/cosmocc.lua index 978b03395..c412d287b 100644 --- a/xmake/modules/core/tools/cosmocc.lua +++ b/xmake/modules/core/tools/cosmocc.lua @@ -30,3 +30,12 @@ end function nf_strip(self, level) end +-- link the target file +function link(self, objectfiles, targetkind, targetfile, flags, opt) + return _super.link(self, objectfiles, targetkind, targetfile, flags, table.join(opt, {shell = true})) +end + +-- compile the source file +function compile(self, sourcefile, objectfile, dependinfo, flags, opt) + return _super.compile(self, sourcefile, objectfile, dependinfo, flags, table.join(opt, {shell = true})) +end |
