mirror of
https://github.com/ziglang/zig.git
synced 2026-11-11 23:19:30 -05:00
add --eh-frame-hdr conditionally
This commit is contained in:
1 parent
599213463d
commit
8e57dd57ca
8 files changed
+32
-2
No files matched your search
+3
-1
@@ -1647,7 +1647,9 @@ static void construct_linker_job_elf(LinkJob *lj) {
|
||||
lj->args.append("--gc-sections");
|
||||
}
|
||||
|
||||
lj->args.append("--eh-frame-hdr");
|
||||
if (g->link_eh_frame_hdr) {
|
||||
lj->args.append("--eh-frame-hdr");
|
||||
}
|
||||
|
||||
lj->args.append("-m");
|
||||
lj->args.append(getLDMOption(g->zig_target));
|
||||
|
||||
Reference in new issue
Block a user