zig cc: -Wno-overriding-t-option was renamed

in LLVM commit 1c66d08b0137cef7761b8220d3b7cb7833f57cdb
This commit is contained in:
Andrew Kelley 2024-04-28 21:51:41 -07:00
parent 27a9240ccb
commit fb948fbacc

View File

@ -5278,7 +5278,7 @@ pub fn addCCArgs(
// version as well as the -mmacosx-version-min argument.
// Zig provides the correct value in both places, so it
// doesn't matter which one gets overridden.
argv.appendAssumeCapacity("-Wno-overriding-t-option");
argv.appendAssumeCapacity("-Wno-overriding-option");
},
.ios, .tvos, .watchos => switch (target.cpu.arch) {
// Pass the proper -m<os>-version-min argument for darwin.