Disable the use of PCH files when using xcodebuild.

llvm-svn: 51509
This commit is contained in:
Ted Kremenek 2008-05-23 22:18:16 +00:00
parent b3424a9ab6
commit 567f333f23
1 changed files with 5 additions and 1 deletions

View File

@ -511,9 +511,13 @@ sub RunBuildCommand {
}
}
# Disable distributed builds for xcodebuild.
if ($Cmd eq "xcodebuild") {
# Disable distributed builds for xcodebuild.
AddIfNotPresent($Args,"-nodistribute");
# Disable PCH files until clang supports them.
AddIfNotPresent($Args,"GCC_PRECOMPILE_PREFIX_HEADER=NO");
}
system(@$Args);