mirror of
https://github.com/ziglang/zig.git
synced 2026-02-13 21:08:36 +00:00
compiler: Classify libgcc as an alias for compiler-rt.
This is GCC's equivalent to compiler-rt. The two libraries have a huge overlap in exported symbols, so we may as well satisfy it this way to increase compatibility with build systems in the wild.
This commit is contained in:
parent
e7169e9d4d
commit
a879c3ea0b
@ -268,6 +268,7 @@ pub fn classifyCompilerRtLibName(name: []const u8) CompilerRtClassification {
|
||||
return .both;
|
||||
}
|
||||
if (std.mem.eql(u8, name, "compiler_rt") or
|
||||
std.mem.eql(u8, name, "gcc") or
|
||||
std.mem.eql(u8, name, "atomic"))
|
||||
{
|
||||
return .only_compiler_rt;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user