| author | |
| committer | |
| log | 37037b269e4484702d12a3c8c909d4b8ed5895f1 |
| tree | 3aeb088d4cd8124d3ff7b9d4111515a619b80c16 |
| parent | 884b1423a4e33323b28d97b7458bade9a36acce9 |
as well as libtsan, libunwind, and libc files4 files changed, 5 insertions(+), 0 deletions(-)
src/Compilation.zig+1| ... | ... | @@ -6611,6 +6611,7 @@ pub fn build_crt_file( |
| 6611 | 6611 | .structured_cfg = comp.root_mod.structured_cfg, |
| 6612 | 6612 | // Some libcs (e.g. musl) are opinionated about -fno-builtin. |
| 6613 | 6613 | .no_builtin = options.no_builtin orelse comp.root_mod.no_builtin, |
| 6614 | .code_model = comp.root_mod.code_model, | |
| 6614 | 6615 | }, |
| 6615 | 6616 | .global = config, |
| 6616 | 6617 | .cc_argv = &.{}, |
src/libcxx.zig+2| ... | ... | @@ -196,6 +196,7 @@ pub fn buildLibCxx(comp: *Compilation, prog_node: std.Progress.Node) BuildError! |
| 196 | 196 | .optimize_mode = optimize_mode, |
| 197 | 197 | .structured_cfg = comp.root_mod.structured_cfg, |
| 198 | 198 | .pic = if (target_util.supports_fpic(target)) true else null, |
| 199 | .code_model = comp.root_mod.code_model, | |
| 199 | 200 | }, |
| 200 | 201 | .global = config, |
| 201 | 202 | .cc_argv = &.{}, |
| ... | ... | @@ -445,6 +446,7 @@ pub fn buildLibCxxAbi(comp: *Compilation, prog_node: std.Progress.Node) BuildErr |
| 445 | 446 | .structured_cfg = comp.root_mod.structured_cfg, |
| 446 | 447 | .unwind_tables = unwind_tables, |
| 447 | 448 | .pic = comp.root_mod.pic, |
| 449 | .code_model = comp.root_mod.code_model, | |
| 448 | 450 | }, |
| 449 | 451 | .global = config, |
| 450 | 452 | .cc_argv = &.{}, |
src/libtsan.zig+1| ... | ... | @@ -105,6 +105,7 @@ pub fn buildTsan(comp: *Compilation, prog_node: std.Progress.Node) BuildError!vo |
| 105 | 105 | .structured_cfg = comp.root_mod.structured_cfg, |
| 106 | 106 | .pic = true, |
| 107 | 107 | .no_builtin = true, |
| 108 | .code_model = comp.root_mod.code_model, | |
| 108 | 109 | }, |
| 109 | 110 | .global = config, |
| 110 | 111 | .cc_argv = &common_flags, |
src/libunwind.zig+1| ... | ... | @@ -71,6 +71,7 @@ pub fn buildStaticLib(comp: *Compilation, prog_node: std.Progress.Node) BuildErr |
| 71 | 71 | .unwind_tables = unwind_tables, |
| 72 | 72 | .pic = if (target_util.supports_fpic(target)) true else null, |
| 73 | 73 | .optimize_mode = comp.compilerRtOptMode(), |
| 74 | .code_model = comp.root_mod.code_model, | |
| 74 | 75 | }, |
| 75 | 76 | .global = config, |
| 76 | 77 | .cc_argv = &.{}, |