summaryrefslogtreecommitdiff
path: root/xmake/modules/core/tools/nim.lua
diff options
context:
space:
mode:
authorruki <[email protected]>2023-08-06 22:37:01 +0800
committerruki <[email protected]>2023-08-06 22:37:01 +0800
commit5ea087bef461d178caba95890c2ebbc52f34b888 (patch)
tree7f8b0bcf4ac678204cace3ee1d0f134bbd8ad818 /xmake/modules/core/tools/nim.lua
parent0ffb589fb816c4d886cf88d322df45f7ebe5434e (diff)
remove flags for nim
Diffstat (limited to 'xmake/modules/core/tools/nim.lua')
-rw-r--r--xmake/modules/core/tools/nim.lua6
1 files changed, 0 insertions, 6 deletions
diff --git a/xmake/modules/core/tools/nim.lua b/xmake/modules/core/tools/nim.lua
index b3ee05767..13d8fb3d6 100644
--- a/xmake/modules/core/tools/nim.lua
+++ b/xmake/modules/core/tools/nim.lua
@@ -123,12 +123,6 @@ end
-- make the build arguments list
function buildargv(self, sourcefiles, targetkind, targetfile, flags)
local flags_extra = {}
- if targetkind == "binary" then
- -- fix multiple definition of `NimMain'
- --
- -- @see https://github.com/nim-lang/Nim/issues/19830
- table.insert(flags_extra, "--passL:-Wl,--allow-multiple-definition")
- end
if targetkind ~= "static" and self:is_plat("windows") then
-- fix link flags for windows
-- @see https://github.com/nim-lang/Nim/issues/19033