[cfe-commits] r51431 - /cfe/trunk/Driver/clang.cpp
Ted Kremenek
kremenek at apple.com
Thu May 22 08:26:23 PDT 2008
Author: kremenek
Date: Thu May 22 10:26:22 2008
New Revision: 51431
URL: http://llvm.org/viewvc/llvm-project?rev=51431&view=rev
Log:
Update driver include paths to work on darwin10.
Modified:
cfe/trunk/Driver/clang.cpp
Modified: cfe/trunk/Driver/clang.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/Driver/clang.cpp?rev=51431&r1=51430&r2=51431&view=diff
==============================================================================
--- cfe/trunk/Driver/clang.cpp (original)
+++ cfe/trunk/Driver/clang.cpp Thu May 22 10:26:22 2008
@@ -951,6 +951,12 @@
// FIXME: get these from the target?
if (!nostdinc) {
if (Lang.CPlusPlus) {
+ AddPath("/usr/include/c++/4.2.1", System, true, false, false, Headers);
+ AddPath("/usr/include/c++/4.2.1/i686-apple-darwin10", System, true, false,
+ false, Headers);
+ AddPath("/usr/include/c++/4.2.1/backward", System, true, false, false,
+ Headers);
+
AddPath("/usr/include/c++/4.0.0", System, true, false, false, Headers);
AddPath("/usr/include/c++/4.0.0/i686-apple-darwin8", System, true, false,
false, Headers);
@@ -973,6 +979,12 @@
}
AddPath("/usr/local/include", System, false, false, false, Headers);
+
+ AddPath("/usr/lib/gcc/i686-apple-darwin10/4.2.1/include", System,
+ false, false, false, Headers);
+ AddPath("/usr/lib/gcc/powerpc-apple-darwin10/4.2.1/include",
+ System, false, false, false, Headers);
+
// leopard
AddPath("/usr/lib/gcc/i686-apple-darwin9/4.0.1/include", System,
false, false, false, Headers);
More information about the cfe-commits
mailing list