diff --git a/clang/tools/scan-build/bin/scan-build b/clang/tools/scan-build/bin/scan-build index 8cd525f054fdc..04734d9cfa9af 100755 --- a/clang/tools/scan-build/bin/scan-build +++ b/clang/tools/scan-build/bin/scan-build @@ -1037,7 +1037,8 @@ sub RunXcodebuild { if ($oldBehavior == 0) { my $OutputDir = $EnvVars->{"OUTPUT_DIR"}; my $CLANG = $EnvVars->{"CLANG"}; - my $OtherFlags = $EnvVars->{"CCC_ANALYZER_ANALYSIS"}; + my $OtherFlags = $EnvVars->{"CCC_ANALYZER_ANALYSIS"} . " " + . $EnvVars->{"CCC_ANALYZER_CONFIG"}; push @$Args, "RUN_CLANG_STATIC_ANALYZER=YES", "CLANG_ANALYZER_OUTPUT=plist-html",