Improve debugging symbols on Linux

This commit is contained in:
Jarred SUmner
2022-01-03 01:46:11 -08:00
parent be0c4b5451
commit 8148b8824f
2 changed files with 4 additions and 2 deletions

View File

@@ -439,6 +439,7 @@ pub fn configureObjectStep(obj: *std.build.LibExeObjStep, target: anytype, main_
if (target.getOsTag() == .linux) {
// obj.want_lto = tar;
obj.link_eh_frame_hdr = true;
obj.link_emit_relocs = true;
obj.link_function_sections = true;
}