summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArthur LAURENT <[email protected]>2024-04-06 15:53:38 +0200
committerArthur LAURENT <[email protected]>2024-04-06 15:53:38 +0200
commitb739f307b9f86ce0c3d4cc41adf079e1d148cf3d (patch)
tree20a4dee7be45b269fea73ff4527da57526156e61
parent3319219a1a2fc26520f0e1760d953e9c0352a91b (diff)
remove comments
-rw-r--r--xmake/core/package/package.lua12
1 files changed, 0 insertions, 12 deletions
diff --git a/xmake/core/package/package.lua b/xmake/core/package/package.lua
index 014d8a82a..9c57dc1f6 100644
--- a/xmake/core/package/package.lua
+++ b/xmake/core/package/package.lua
@@ -2297,18 +2297,6 @@ function _instance:_generate_build_configs(configs, opt)
local ldflags = linker:map_flags("runtime", runtimes, {target = fake_target})
configs.ldflags = table.wrap(configs.ldflags)
table.join2(configs.ldflags, ldflags)
-
- -- if self:is_plat("windows") then
- -- local ld = self:build_getenv("ld")
- -- if ld and path.basename(ld:lower()) == "link" then -- for msvc?
- -- configs.cxflags = table.wrap(configs.cxflags)
- -- table.insert(configs.cxflags, "/" .. runtimes)
- -- if runtimes:startswith("MT") then
- -- configs.ldflags = table.wrap(configs.ldflags)
- -- table.insert(configs.ldflags, "-nodefaultlib:msvcrt.lib")
- -- end
- -- end
- -- end
end
if self:config("lto") then
local configs_lto = self:_generate_lto_configs(opt.sourcekind or "cxx")