summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorxpxz <[email protected]>2023-06-25 23:37:21 +0800
committerGitHub <[email protected]>2023-06-25 23:37:21 +0800
commit1967e3b25121e02f46ef506f7ece4b2768102a8b (patch)
tree3dd98ee18ca39ddf76c0ffaf0601454022c03fc5
parent70dc1e4661123bf5f85b68c3e12ded27f631c9d1 (diff)
remove colon
-rw-r--r--xmake/plugins/project/ninja/build_ninja.lua2
1 files changed, 0 insertions, 2 deletions
diff --git a/xmake/plugins/project/ninja/build_ninja.lua b/xmake/plugins/project/ninja/build_ninja.lua
index 9436a34f3..02139ec96 100644
--- a/xmake/plugins/project/ninja/build_ninja.lua
+++ b/xmake/plugins/project/ninja/build_ninja.lua
@@ -82,7 +82,6 @@ function _translate_compflags(compflags, outputdir)
if last_flag == "-I" or last_flag == "-isystem" then
flag = last_flag .. flag;
end
- ;
last_flag = flag;
for _, pattern in ipairs({ "[%-](I)(.*)", "[%-](isystem)(.*)" }) do
flag = flag:gsub(pattern, function(flag, dir)
@@ -92,7 +91,6 @@ function _translate_compflags(compflags, outputdir)
end
table.insert(flags, flag)
end
- ;
end
return flags
end