diff --git a/tools/scan-build/ccc-analyzer b/tools/scan-build/ccc-analyzer index df694f502711c0bfec6b23f132e8da965c933c17..bb6dd9563b386fd315fb6e5abbcb1eef701d2c8f 100755 --- a/tools/scan-build/ccc-analyzer +++ b/tools/scan-build/ccc-analyzer @@ -495,6 +495,11 @@ foreach (my $i = 0; $i < scalar(@ARGV); ++$i) { push @CompileOpts,$Arg; next; } + # Handle the case where there isn't a space after -iquote + if ($Arg =~ /-iquote.*/) { + push @CompileOpts,$Arg; + next; + } # Options with possible arguments that should pass through to linker. if (defined $LinkerOptionMap{$ArgKey}) {