From 8f27fc6c072590f4e9047542ee56b85fd133633d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Alex=20R=C3=B8nne=20Petersen?= Date: Fri, 6 Dec 2024 15:10:37 +0100 Subject: [PATCH] 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. --- src/target.zig | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/target.zig b/src/target.zig index bfa65c0178..e796b8e271 100644 --- a/src/target.zig +++ b/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; }