mirror of
https://codeberg.org/ziglang/zig
synced 2026-11-18 07:05:05 +00:00
Patch lld to have a more sensible kill-at implementation
Lift some code from llvm-dlltool, the lld code is meant to follow what gnu ld does but that's not much useful for our purposes. Also use the `--kill-at` option when generating the .lib files out of mingw's .def files: this way our building process closely matches the one use by the upstream and now finally generates files that allow both C code and Zig code to link.
This commit is contained in:
parent
c9a3c945db
commit
86e5bbffd7
2 changed files with 21 additions and 4 deletions
16
deps/lld/COFF/DriverUtils.cpp
vendored
16
deps/lld/COFF/DriverUtils.cpp
vendored
Loading…
Add table
Add a link
Reference in a new issue