diff options
| author | Alex Rønne Petersen <alex@alexrp.com> | 2024-11-03 15:32:33 +0100 |
|---|---|---|
| committer | Alex Rønne Petersen <alex@alexrp.com> | 2024-11-04 07:19:11 +0100 |
| commit | 814a41b48f157fff1f48c4a14e92142d1e6e5748 (patch) | |
| tree | 4b23737f048c6f574a4e285bfd793a023f3c37d7 /src/Package/Module.zig | |
| parent | 3054486d1dedd49553680da2c074d1ab413797fd (diff) | |
| download | zig-814a41b48f157fff1f48c4a14e92142d1e6e5748.tar.gz zig-814a41b48f157fff1f48c4a14e92142d1e6e5748.zip | |
link.Coff: Pass -lldmingw to LLD earlier and regardless of -lc.
The -lldmingw option affects a lot of logic throughout LLD. We need to pass it
for *-windows-gnu even when we're not actually linking MinGW since we're still
using the MinGW ABI with all that that entails. (One particular problem we would
run into is missing handling of stdcall-decorated symbols for 32-bit x86.) Also,
various other LLD options are sensitive to this option, so it's best to pass it
as early as possible.
Closes #11817.
Diffstat (limited to 'src/Package/Module.zig')
0 files changed, 0 insertions, 0 deletions
