diff options
author | Ted Kremenek <kremenek@apple.com> | 2008-05-23 22:18:16 +0000 |
---|---|---|
committer | Ted Kremenek <kremenek@apple.com> | 2008-05-23 22:18:16 +0000 |
commit | cfd4c7bef7a76c568ec033e91ba3f521e10bcbb3 (patch) | |
tree | 59d30d6c30cd27112fbc8ac39e4e51a9dee96e05 /utils | |
parent | 218543b10e81ea2269ef6ae34d2d8ddbdec54dbe (diff) |
Disable the use of PCH files when using xcodebuild.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@51509 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'utils')
-rwxr-xr-x | utils/scan-build | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/utils/scan-build b/utils/scan-build index f1905833ce..a7ce797962 100755 --- a/utils/scan-build +++ b/utils/scan-build @@ -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); |