Index: tools/scan-build/ccc-analyzer =================================================================== --- tools/scan-build/ccc-analyzer +++ tools/scan-build/ccc-analyzer @@ -488,6 +488,10 @@ push @CompileOpts,$Arg; next; } + if ($Arg =~ /-f.*/) { + push @CompileOpts,$Arg; + next; + } # Handle the case where there isn't a space after -iquote if ($Arg =~ /-iquote.*/) { push @CompileOpts,$Arg;