diff options
| author | Andrew Kelley <andrew@ziglang.org> | 2022-10-29 17:45:00 -0400 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-10-29 17:45:00 -0400 |
| commit | 28dc208f65c0a3feca4d6018fb316d7c219d29a7 (patch) | |
| tree | 80b19479b1a50431e138e138cb8eaaf750905db6 /src/Compilation.zig | |
| parent | e036cc48d59e5f7c025df7bbd9923a13e30c6ec9 (diff) | |
| parent | 5aef54cbc83cce5c1afe9aededfc505d89559741 (diff) | |
| download | zig-28dc208f65c0a3feca4d6018fb316d7c219d29a7.tar.gz zig-28dc208f65c0a3feca4d6018fb316d7c219d29a7.zip | |
Merge pull request #13082 from g-w1/unnamed-decls-and-relocs-p9
Plan9: Fix The Backend
Diffstat (limited to 'src/Compilation.zig')
| -rw-r--r-- | src/Compilation.zig | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/Compilation.zig b/src/Compilation.zig index be9e82cd87..7f1db63746 100644 --- a/src/Compilation.zig +++ b/src/Compilation.zig @@ -1091,10 +1091,10 @@ pub fn create(gpa: Allocator, options: InitOptions) !*Compilation { // Once they are capable this condition could be removed. When removing this condition, // also test the use case of `build-obj -fcompiler-rt` with the native backends // and make sure the compiler-rt symbols are emitted. - const capable_of_building_compiler_rt = build_options.have_llvm; + const capable_of_building_compiler_rt = build_options.have_llvm and options.target.os.tag != .plan9; - const capable_of_building_zig_libc = build_options.have_llvm; - const capable_of_building_ssp = build_options.have_llvm; + const capable_of_building_zig_libc = build_options.have_llvm and options.target.os.tag != .plan9; + const capable_of_building_ssp = build_options.have_llvm and options.target.os.tag != .plan9; const comp: *Compilation = comp: { // For allocations that have the same lifetime as Compilation. This arena is used only during this |
