zig

fork of https://codeberg.org/ziglang/zig
Log | Files | Refs | README | LICENSE

commit 8f27fc6c072590f4e9047542ee56b85fd133633d (tree)
parent 65cfc91836adfc4e9ef852b571b6a4f38b943284
Author: Alex Rønne Petersen <alex@alexrp.com>
Date:   Fri,  6 Dec 2024 15:10:37 +0100

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:
Msrc/target.zig | 3++-
1 file changed, 2 insertions(+), 1 deletion(-)

diff --git 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; }