aboutsummaryrefslogtreecommitdiff
path: root/src/target.zig
diff options
context:
space:
mode:
authorAlex Rønne Petersen <alex@alexrp.com>2024-12-06 15:10:37 +0100
committerAlex Rønne Petersen <alex@alexrp.com>2024-12-06 15:10:37 +0100
commit8f27fc6c072590f4e9047542ee56b85fd133633d (patch)
treea24a2ddf60c89cdf2a320b622bdf6376b3552e96 /src/target.zig
parent65cfc91836adfc4e9ef852b571b6a4f38b943284 (diff)
downloadzig-8f27fc6c072590f4e9047542ee56b85fd133633d.tar.gz
zig-8f27fc6c072590f4e9047542ee56b85fd133633d.zip
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.
Diffstat (limited to 'src/target.zig')
-rw-r--r--src/target.zig3
1 files changed, 2 insertions, 1 deletions
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;
}