diff options
| author | Lee Cannon <leecannon@leecannon.xyz> | 2020-12-20 21:41:00 +0000 |
|---|---|---|
| committer | Andrew Kelley <andrew@ziglang.org> | 2021-01-11 22:07:14 -0700 |
| commit | 8932c2d7456fc86b9e92c7976cedcce798caef1a (patch) | |
| tree | f1a592127ee02e182eead556b6946b13a7d55edb /src/libcxx.zig | |
| parent | 56c03881ebd8617e6506bfad01bf9cfdd4d3df7e (diff) | |
| download | zig-8932c2d7456fc86b9e92c7976cedcce798caef1a.tar.gz zig-8932c2d7456fc86b9e92c7976cedcce798caef1a.zip | |
Added support for no red zone
Diffstat (limited to 'src/libcxx.zig')
| -rw-r--r-- | src/libcxx.zig | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/libcxx.zig b/src/libcxx.zig index e79a0106e9..dc9fdc15e7 100644 --- a/src/libcxx.zig +++ b/src/libcxx.zig @@ -167,6 +167,7 @@ pub fn buildLibCXX(comp: *Compilation) !void { .link_mode = link_mode, .want_sanitize_c = false, .want_stack_check = false, + .no_red_zone = comp.bin_file.options.no_red_zone, .want_valgrind = false, .want_tsan = comp.bin_file.options.tsan, .want_pic = comp.bin_file.options.pic, @@ -284,6 +285,7 @@ pub fn buildLibCXXABI(comp: *Compilation) !void { .link_mode = link_mode, .want_sanitize_c = false, .want_stack_check = false, + .no_red_zone = comp.bin_file.options.no_red_zone, .want_valgrind = false, .want_tsan = comp.bin_file.options.tsan, .want_pic = comp.bin_file.options.pic, |
