| ... | ... | @@ -5921,8 +5921,10 @@ pub fn addCCArgs( |
| 5921 | 5921 | const is_enabled = target.cpu.features.isEnabled(index); |
| 5922 | 5922 | |
| 5923 | 5923 | if (feature.llvm_name) |llvm_name| { |
| 5924 | | // We communicate float ABI to Clang through the dedicated options further down. |
| 5925 | | if (std.mem.eql(u8, llvm_name, "soft-float")) continue; |
| 5924 | // We communicate float ABI to Clang through the dedicated options. |
| 5925 | if (std.mem.startsWith(u8, llvm_name, "soft-float") or |
| 5926 | std.mem.startsWith(u8, llvm_name, "hard-float")) |
| 5927 | continue; |
| 5926 | 5928 | |
| 5927 | 5929 | argv.appendSliceAssumeCapacity(&[_][]const u8{ "-Xclang", "-target-feature", "-Xclang" }); |
| 5928 | 5930 | const plus_or_minus = "-+"[@intFromBool(is_enabled)]; |