diff options
| author | Andrew Kelley <andrew@ziglang.org> | 2022-02-23 13:25:10 -0700 |
|---|---|---|
| committer | Andrew Kelley <andrew@ziglang.org> | 2022-02-23 13:25:10 -0700 |
| commit | 88d1258e08e668e620d5f8f4681315e555acbcd2 (patch) | |
| tree | 930e8dabe93e60af9fc4f0e54c17e07db2672aa1 /src/type.zig | |
| parent | acec06cfaf9a82ec8037a23993ff36fa72eb6e82 (diff) | |
| download | zig-88d1258e08e668e620d5f8f4681315e555acbcd2.tar.gz zig-88d1258e08e668e620d5f8f4681315e555acbcd2.zip | |
stage2: make -lgcc_s additionally link libunwind
Previously, Zig ignored -lgcc_s with a warning that this dependency is
redundant because it is satisfied by compiler-rt. However, sfackler
pointed out that it also provides exception handling functions. So if
Zig sees -lgcc_s on the linker line, it needs to fulfill this dependency
with libunwind.
I also made link_libc inferred to be on if libunwind is linked since
libunwind depends on libc.
Diffstat (limited to 'src/type.zig')
0 files changed, 0 insertions, 0 deletions
