mirror of
https://github.com/ziglang/zig.git
synced 2025-12-29 01:23:17 +00:00
stage2: propagate use_stage1 to sub-compilation
This makes it so that -fno-stage1 also affects compiler-rt for example.
This commit is contained in:
parent
388520a40b
commit
fc7c0e07be
@ -5005,6 +5005,7 @@ fn buildOutputFromZig(
|
||||
.link_mode = .Static,
|
||||
.function_sections = true,
|
||||
.no_builtin = true,
|
||||
.use_stage1 = build_options.is_stage1 and comp.bin_file.options.use_stage1,
|
||||
.want_sanitize_c = false,
|
||||
.want_stack_check = false,
|
||||
.want_red_zone = comp.bin_file.options.red_zone,
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user