From 0bdcae97d8d9b2b3afe725f9b857a9994d3b28fa Mon Sep 17 00:00:00 2001 From: FrankHB Date: Sun, 11 Aug 2019 18:06:42 +0800 Subject: fix typos Changed all 'complie' to 'compile'. Added missing 'the' for some cases. Signed-off-by: FrankHB --- xmake/modules/core/tools/gcc.lua | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'xmake/modules/core/tools/gcc.lua') diff --git a/xmake/modules/core/tools/gcc.lua b/xmake/modules/core/tools/gcc.lua index 3ec12d580..31fd45ac5 100644 --- a/xmake/modules/core/tools/gcc.lua +++ b/xmake/modules/core/tools/gcc.lua @@ -329,7 +329,7 @@ function link(self, objectfiles, targetkind, targetfile, flags) end --- make the complie arguments list for the precompiled header +-- make the compile arguments list for the precompiled header function _compargv1_pch(self, pcheaderfile, pcoutputfile, flags) -- remove "-include xxx.h" and "-include-pch xxx.pch" @@ -352,11 +352,11 @@ function _compargv1_pch(self, pcheaderfile, pcoutputfile, flags) table.insert(pchflags, "c++-header") end - -- make complie arguments list + -- make the compile arguments list return self:program(), table.join("-c", pchflags, "-o", pcoutputfile, pcheaderfile) end --- make the complie arguments list +-- make the compile arguments list function _compargv1(self, sourcefile, objectfile, flags) -- precompiled header? @@ -391,7 +391,7 @@ function _compargv1(self, sourcefile, objectfile, flags) return program, argv end --- complie the source file +-- compile the source file function _compile1(self, sourcefile, objectfile, dependinfo, flags) -- ensure the object directory @@ -475,7 +475,7 @@ function _compile1(self, sourcefile, objectfile, dependinfo, flags) } end --- make the complie arguments list +-- make the compile arguments list function compargv(self, sourcefiles, objectfile, flags) -- only support single source file now @@ -485,7 +485,7 @@ function compargv(self, sourcefiles, objectfile, flags) return _compargv1(self, sourcefiles, objectfile, flags) end --- complie the source file +-- compile the source file function compile(self, sourcefiles, objectfile, dependinfo, flags) -- only support single source file now -- cgit v1.3.1