Commit 8f27fc6c07

Alex Rønne Petersen <alex@alexrp.com>
2024-12-06 15:10:37
compiler: Classify libssp as an alias for compiler-rt.
This is a GCC library providing symbols with stack smashing protection. We provide (most of) these symbols in our compiler-rt.
1 parent 65cfc91
Changed files (1)
src/target.zig
@@ -269,7 +269,8 @@ pub fn classifyCompilerRtLibName(name: []const u8) CompilerRtClassification {
     }
     if (std.mem.eql(u8, name, "compiler_rt") or
         std.mem.eql(u8, name, "gcc") or
-        std.mem.eql(u8, name, "atomic"))
+        std.mem.eql(u8, name, "atomic") or
+        std.mem.eql(u8, name, "ssp"))
     {
         return .only_compiler_rt;
     }