diff options
-rwxr-xr-x | tools/scan-build/scan-build | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/tools/scan-build/scan-build b/tools/scan-build/scan-build index 3cb2bb4a6d..518632e45b 100755 --- a/tools/scan-build/scan-build +++ b/tools/scan-build/scan-build @@ -807,6 +807,8 @@ sub RunBuildCommand { } elsif ($IgnoreErrors) { if ($Cmd eq "make" or $Cmd eq "gmake") { + AddIfNotPresent($Args, "CC=$CCAnalyzer"); + AddIfNotPresent($Args, "CXX=$CCAnalyzer"); AddIfNotPresent($Args,"-k"); AddIfNotPresent($Args,"-i"); } |