# --- T2-COPYRIGHT-NOTE-BEGIN --- # This copyright note is auto-generated by ./scripts/Create-CopyPatch. # # T2 SDE: package/.../llvm/include-paths.patch # Copyright (C) 2009 - 2010 The T2 SDE Project # # More information can be found in the files COPYING and README. # # This patch file is dual-licensed. It is available under the license the # patched project is licensed under, as long as it is an OpenSource license # as defined at http://www.opensource.org/ (e.g. BSD, X11) or under the terms # of the GNU General Public License as published by the Free Software # Foundation; either version 2 of the License, or (at your option) any later # version. # --- T2-COPYRIGHT-NOTE-END --- --- llvm-2.7/utils/clang/lib/Frontend/InitHeaderSearch.cpp.vanilla 2010-04-25 16:35:45.974577813 +0000 +++ llvm-2.7/utils/clang/lib/Frontend/InitHeaderSearch.cpp 2010-04-25 16:38:21.345000132 +0000 @@ -437,6 +437,7 @@ } AddPath("/usr/local/include", System, true, false, false); + AddPath("@T2SDE_SYSTEM_INCLUDE_PATH@", System, false, false, false); AddPath("/usr/include", System, false, false, false); } @@ -483,6 +484,7 @@ AddPath("/usr/include/c++/4.1", System, true, false, false); break; case llvm::Triple::Linux: +#if 0 // Exherbo (2010-01-25) AddGnuCPlusPlusIncludePaths("/usr/include/c++/4.4.3", "x86_64-pc-linux-gnu", "32", "", triple); @@ -576,6 +578,10 @@ AddGnuCPlusPlusIncludePaths( "/usr/lib/gcc/x86_64-pc-linux-gnu/4.4.3/include/g++-v4", "x86_64-pc-linux-gnu", "32", "", triple); +#endif + + AddGnuCPlusPlusIncludePaths("@T2SDE_CXX_SYSTEM_INCLUDE_PATH@", + "x86_64-t2-linux-gnu", "32", "", triple); break; case llvm::Triple::FreeBSD: