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