| author | |
| committer | |
| log | a8e624d7f1220da166a61c5eb5956a5569188856 |
| tree | 2632307fd24ef3cd8f667dfce530dcd1ee896a5c |
| parent | bb7a43490f29cbe98974ba66ebd274bceb694acf |
| signature |
2 files changed, 2 insertions(+), 0 deletions(-)
src/Compilation.zig+1| ... | ... | @@ -6808,6 +6808,7 @@ pub fn addCCArgs( |
| 6808 | 6808 | // We communicate these to Clang through the dedicated options. |
| 6809 | 6809 | if (std.mem.startsWith(u8, llvm_name, "soft-float") or |
| 6810 | 6810 | std.mem.startsWith(u8, llvm_name, "hard-float") or |
| 6811 | (target.cpu.arch.isPowerPC() and std.mem.startsWith(u8, llvm_name, "64bit")) or | |
| 6811 | 6812 | (target.cpu.arch.isX86() and std.mem.startsWith(u8, llvm_name, "x32")) or |
| 6812 | 6813 | (target.cpu.arch == .s390x and std.mem.eql(u8, llvm_name, "backchain"))) |
| 6813 | 6814 | continue; |
src/Package/Module.zig+1| ... | ... | @@ -347,6 +347,7 @@ pub fn create(arena: Allocator, options: CreateOptions) !*Package.Module { |
| 347 | 347 | // See https://github.com/ziglang/zig/issues/23539 |
| 348 | 348 | if (target_util.isDynamicAMDGCNFeature(target, feature)) continue; |
| 349 | 349 | |
| 350 | if (target.cpu.arch.isPowerPC() and @as(std.Target.powerpc.Feature, @enumFromInt(feature.index)) == .@"64bit") continue; | |
| 350 | 351 | if (target.cpu.arch.isX86() and @as(std.Target.x86.Feature, @enumFromInt(feature.index)) == .x32) continue; |
| 351 | 352 | |
| 352 | 353 | var is_enabled = target.cpu.features.isEnabled(feature.index); |