[cfe-commits] r51509 - /cfe/trunk/utils/scan-build
Ted Kremenek
kremenek at apple.com
Fri May 23 15:18:17 PDT 2008
Author: kremenek
Date: Fri May 23 17:18:16 2008
New Revision: 51509
URL: http://llvm.org/viewvc/llvm-project?rev=51509&view=rev
Log:
Disable the use of PCH files when using xcodebuild.
Modified:
cfe/trunk/utils/scan-build
Modified: cfe/trunk/utils/scan-build
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/utils/scan-build?rev=51509&r1=51508&r2=51509&view=diff
==============================================================================
--- cfe/trunk/utils/scan-build (original)
+++ cfe/trunk/utils/scan-build Fri May 23 17:18:16 2008
@@ -511,9 +511,13 @@
}
}
- # 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);
More information about the cfe-commits
mailing list