mirror of
https://github.com/ziglang/zig.git
synced 2024-11-14 16:13:24 +00:00
revert part of 945111ae92
This commit is contained in:
parent
0e152b76ac
commit
b98b3252be
@ -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)}));
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user