diff options
| author | Alex Rønne Petersen <alex@alexrp.com> | 2024-12-06 14:07:15 +0100 |
|---|---|---|
| committer | Alex Rønne Petersen <alex@alexrp.com> | 2024-12-06 14:57:19 +0100 |
| commit | 37a34b54afee183f397cf708ac8d074fa7cc92d6 (patch) | |
| tree | 87343a9fd1de152ca6448f6a09ea0eb71e5331d2 /src/main.zig | |
| parent | f8372d030e50b6eec50fd21a387b4d875f81a178 (diff) | |
| download | zig-37a34b54afee183f397cf708ac8d074fa7cc92d6.tar.gz zig-37a34b54afee183f397cf708ac8d074fa7cc92d6.zip | |
compiler: Recognize libgcc_s regardless of target ABI.
The real libgcc_s is a compiler-provided library; it works just fine with both
glibc and musl. There's no reason that I can see for this check to be limited to
glibc-based targets.
Diffstat (limited to 'src/main.zig')
| -rw-r--r-- | src/main.zig | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main.zig b/src/main.zig index 0d239f1f99..b946447cc6 100644 --- a/src/main.zig +++ b/src/main.zig @@ -3832,7 +3832,7 @@ fn createModule( create_module.opts.link_libcpp = true; continue; } - switch (target_util.classifyCompilerRtLibName(target, lib_name)) { + switch (target_util.classifyCompilerRtLibName(lib_name)) { .none => {}, .only_libunwind, .both => { create_module.opts.link_libunwind = true; |
