add support for ignore-gdb-version

This commit is contained in:
Pietro Albini 2023-03-16 11:19:30 +01:00
parent 8f8873e386
commit 5b0a0d8254
No known key found for this signature in database
GPG Key ID: CD76B35F7734769E

View File

@ -187,6 +187,12 @@ macro_rules! condition {
if name == "llvm-version" {
outcome = MatchOutcome::External;
}
// Don't error out for ignore-llvm-version, that has a custom syntax and is handled
// elsewhere.
if name == "gdb-version" {
outcome = MatchOutcome::External;
}
}
ParsedNameDirective {