diff options
| author | Jacob G-W <jacoblevgw@gmail.com> | 2022-10-24 17:01:26 -0400 |
|---|---|---|
| committer | Jacob G-W <jacoblevgw@gmail.com> | 2022-10-24 17:01:26 -0400 |
| commit | 5aef54cbc83cce5c1afe9aededfc505d89559741 (patch) | |
| tree | aa3a60637123d531b5c7834e25019aa46aac82d5 /src/Compilation.zig | |
| parent | c6fb798740119b78def920c649c03a644fa2380b (diff) | |
| download | zig-5aef54cbc83cce5c1afe9aededfc505d89559741.tar.gz zig-5aef54cbc83cce5c1afe9aededfc505d89559741.zip | |
additional fixes for Plan9
with this, the tests should pass
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 fc71da56f3..80787db37d 100644 --- a/src/Compilation.zig +++ b/src/Compilation.zig @@ -1088,10 +1088,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 |
