]> granicus.if.org Git - clang/commitdiff
Disable the use of PCH files when using xcodebuild.
authorTed Kremenek <kremenek@apple.com>
Fri, 23 May 2008 22:18:16 +0000 (22:18 +0000)
committerTed Kremenek <kremenek@apple.com>
Fri, 23 May 2008 22:18:16 +0000 (22:18 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@51509 91177308-0d34-0410-b5e6-96231b3b80d8

utils/scan-build

index f1905833ce3033fa9ee584f4f4404ed37bacb2ba..a7ce79796288d9aa53199e4d794d316df94baa29 100755 (executable)
@@ -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);