From 9f84ee73fd563b2d484b80db19b6ad960dfb2f08 Mon Sep 17 00:00:00 2001
From: Jeremy Huddleston Sequoia <jeremyhu@apple.com>
Date: Mon, 31 Oct 2016 15:06:36 -0700
Subject: [PATCH 1006/1008] Fixup libstdc++ header search paths for older
The subpaths were removed in Lion. Leopard and Snow Leopard had darwin8
symlinks for compatibility.
https://llvm.org/bugs/show_bug.cgi?id=30858
Signed-off-by: Jeremy Huddleston Sequoia <jeremyhu@apple.com>
lib/Frontend/InitHeaderSearch.cpp | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git llvm_master/tools/clang/lib/Frontend/InitHeaderSearch.cpp macports_master/tools/clang/lib/Frontend/InitHeaderSearch.cpp
index 1d7c8a0c87..94a7f09fd5 100644
--- llvm_master/tools/clang/lib/Frontend/InitHeaderSearch.cpp
+++ macports_master/tools/clang/lib/Frontend/InitHeaderSearch.cpp
@@ -367,7 +367,7 @@ AddDefaultCPlusPlusIncludePaths(const llvm::Triple &triple, const HeaderSearchOp
"powerpc-apple-darwin10", "", "ppc64",
AddGnuCPlusPlusIncludePaths("/usr/include/c++/4.0.0",
- "powerpc-apple-darwin10", "", "ppc64",
+ "powerpc-apple-darwin8", "", "ppc64",
@@ -376,7 +376,7 @@ AddDefaultCPlusPlusIncludePaths(const llvm::Triple &triple, const HeaderSearchOp
AddGnuCPlusPlusIncludePaths("/usr/include/c++/4.2.1",
"i686-apple-darwin10", "", "x86_64", triple);
AddGnuCPlusPlusIncludePaths("/usr/include/c++/4.0.0",
- "i686-apple-darwin8", "", "", triple);
+ "i686-apple-darwin8", "", "x86_64", triple);