This commit is contained in:
Jakub Konka 2022-09-07 23:18:57 +02:00
parent 0e152b76ac
commit b98b3252be

View File

@ -1623,7 +1623,6 @@ pub const LibExeObjStep = struct {
/// Overrides the default stack size
stack_size: ?u64 = null,
use_unwind_tables: ?bool = null,
want_lto: ?bool = null,
use_stage1: ?bool = null,
use_llvm: ?bool = null,
@ -2506,14 +2505,6 @@ pub const LibExeObjStep = struct {
}
}
if (self.use_unwind_tables) |use_unwind_tables| {
if (use_unwind_tables) {
try zig_args.append("-funwind-tables");
} else {
try zig_args.append("-fno-unwind-tables");
}
}
if (self.ofmt) |ofmt| {
try zig_args.append(try std.fmt.allocPrint(builder.allocator, "-ofmt={s}", .{@tagName(ofmt)}));
}