sync ports with The Matrix
This commit is contained in:
parent
a0fe1892c0
commit
a526e24d56
276 changed files with 5668 additions and 3169 deletions
15
lang/zig/patches/patch-src_link_Elf_zig
Normal file
15
lang/zig/patches/patch-src_link_Elf_zig
Normal file
|
@ -0,0 +1,15 @@
|
|||
Force -znobtcfi on linker invocation.
|
||||
|
||||
Index: src/link/Elf.zig
|
||||
--- src/link/Elf.zig.orig
|
||||
+++ src/link/Elf.zig
|
||||
@@ -1510,6 +1510,9 @@ fn linkWithLLD(self: *Elf, comp: *Compilation, prog_no
|
||||
|
||||
try argv.append("--error-limit=0");
|
||||
|
||||
+ try argv.append("-z");
|
||||
+ try argv.append("nobtcfi");
|
||||
+
|
||||
if (self.base.options.sysroot) |sysroot| {
|
||||
try argv.append(try std.fmt.allocPrint(arena, "--sysroot={s}", .{sysroot}));
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue