summaryrefslogtreecommitdiff
path: root/xmake/modules/core/tools/swiftc.lua
diff options
context:
space:
mode:
authorruki <[email protected]>2019-08-31 22:22:15 +0800
committerruki <[email protected]>2019-08-31 22:22:15 +0800
commitd87ef11e59b4c84c13c680d0dd28bd9a93de39d9 (patch)
tree88f8986caa1b75628e6abba1acda8bfb4783f738 /xmake/modules/core/tools/swiftc.lua
parent9b62ca9a3bdccb9a37f80a6dd943dfd13a502a32 (diff)
add objc, swift and asm rules
Diffstat (limited to 'xmake/modules/core/tools/swiftc.lua')
-rw-r--r--xmake/modules/core/tools/swiftc.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/xmake/modules/core/tools/swiftc.lua b/xmake/modules/core/tools/swiftc.lua
index eb6fecb99..2b7c16709 100644
--- a/xmake/modules/core/tools/swiftc.lua
+++ b/xmake/modules/core/tools/swiftc.lua
@@ -203,7 +203,7 @@ end
-- make the compile arguments list
function _compargv1(self, sourcefile, objectfile, flags)
- return ccache.cmdargv(self.program(), table.join("-c", flags, "-o", objectfile, sourcefile))
+ return ccache.cmdargv(self:program(), table.join("-c", flags, "-o", objectfile, sourcefile))
end
-- compile the source file