summaryrefslogtreecommitdiff
path: root/xmake/modules/core/tools
diff options
context:
space:
mode:
authorOpportunityLiu <[email protected]>2019-07-24 10:42:55 +0800
committerOpportunityLiu <[email protected]>2019-07-24 10:42:55 +0800
commitb1a47544b8f60c12541b8b5a0f4383639d348af3 (patch)
treeea52bf2d354a9d04405ef1fadf1d45b82f5a90af /xmake/modules/core/tools
parentae7d6509749944564b939bd36cf6ab895dcff0af (diff)
fix typo
Diffstat (limited to 'xmake/modules/core/tools')
-rw-r--r--xmake/modules/core/tools/cparser.lua2
-rw-r--r--xmake/modules/core/tools/gcc.lua4
-rw-r--r--xmake/modules/core/tools/nvcc.lua4
-rw-r--r--xmake/modules/core/tools/swiftc.lua2
-rw-r--r--xmake/modules/core/tools/tcc.lua2
5 files changed, 7 insertions, 7 deletions
diff --git a/xmake/modules/core/tools/cparser.lua b/xmake/modules/core/tools/cparser.lua
index ff143ae48..3b1730cc6 100644
--- a/xmake/modules/core/tools/cparser.lua
+++ b/xmake/modules/core/tools/cparser.lua
@@ -171,7 +171,7 @@ function _compargv1(self, sourcefile, objectfile, flags)
local program = self:program()
if ccache then
- -- parse the filename and arguments, .e.g "xcrun -sdk macosx clang"
+ -- parse the filename and arguments, e.g. "xcrun -sdk macosx clang"
if not os.isexec(program) then
argv = table.join(program:split("%s"), argv)
else
diff --git a/xmake/modules/core/tools/gcc.lua b/xmake/modules/core/tools/gcc.lua
index e029f8566..3ec12d580 100644
--- a/xmake/modules/core/tools/gcc.lua
+++ b/xmake/modules/core/tools/gcc.lua
@@ -302,7 +302,7 @@ end
-- make the link arguments list
function linkargv(self, objectfiles, targetkind, targetfile, flags)
- -- add rpath for dylib (macho), .e.g -install_name @rpath/file.dylib
+ -- add rpath for dylib (macho), e.g. -install_name @rpath/file.dylib
local flags_extra = {}
if targetkind == "shared" and targetfile:endswith(".dylib") then
table.insert(flags_extra, "-install_name")
@@ -378,7 +378,7 @@ function _compargv1(self, sourcefile, objectfile, flags)
local program = self:program()
if ccache then
- -- parse the filename and arguments, .e.g "xcrun -sdk macosx clang"
+ -- parse the filename and arguments, e.g. "xcrun -sdk macosx clang"
if not os.isexec(program) then
argv = table.join(program:split("%s"), argv)
else
diff --git a/xmake/modules/core/tools/nvcc.lua b/xmake/modules/core/tools/nvcc.lua
index b863058e6..a2037e64b 100644
--- a/xmake/modules/core/tools/nvcc.lua
+++ b/xmake/modules/core/tools/nvcc.lua
@@ -245,7 +245,7 @@ end
-- make the link arguments list
function linkargv(self, objectfiles, targetkind, targetfile, flags)
- -- add rpath for dylib (macho), .e.g -install_name @rpath/file.dylib
+ -- add rpath for dylib (macho), e.g. -install_name @rpath/file.dylib
local flags_extra = {}
if targetkind == "shared" and targetfile:endswith(".dylib") then
table.insert(flags_extra, "-Xlinker")
@@ -290,7 +290,7 @@ function _compargv1(self, sourcefile, objectfile, flags)
local program = self:program()
if ccache then
- -- parse the filename and arguments, .e.g "xcrun -sdk macosx clang"
+ -- parse the filename and arguments, e.g. "xcrun -sdk macosx clang"
if not os.isexec(program) then
argv = table.join(program:split("%s"), argv)
else
diff --git a/xmake/modules/core/tools/swiftc.lua b/xmake/modules/core/tools/swiftc.lua
index de6800123..91a788fb6 100644
--- a/xmake/modules/core/tools/swiftc.lua
+++ b/xmake/modules/core/tools/swiftc.lua
@@ -217,7 +217,7 @@ function _compargv1(self, sourcefile, objectfile, flags)
local program = self:program()
if ccache then
- -- parse the filename and arguments, .e.g "xcrun -sdk macosx clang"
+ -- parse the filename and arguments, e.g. "xcrun -sdk macosx clang"
if not os.isexec(program) then
argv = table.join(program:split("%s"), argv)
else
diff --git a/xmake/modules/core/tools/tcc.lua b/xmake/modules/core/tools/tcc.lua
index 1efb00eac..e7c11b645 100644
--- a/xmake/modules/core/tools/tcc.lua
+++ b/xmake/modules/core/tools/tcc.lua
@@ -171,7 +171,7 @@ function _compargv1(self, sourcefile, objectfile, flags)
local program = self:program()
if ccache then
- -- parse the filename and arguments, .e.g "xcrun -sdk macosx clang"
+ -- parse the filename and arguments, e.g. "xcrun -sdk macosx clang"
if not os.isexec(program) then
argv = table.join(program:split("%s"), argv)
else