Skip to content

Commit

Permalink
remove flags for nim
Browse files Browse the repository at this point in the history
  • Loading branch information
waruqi committed Aug 6, 2023
1 parent 0ffb589 commit 5ea087b
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions xmake/modules/core/tools/nim.lua
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 5ea087b

Please sign in to comment.