[cfe-commits] Fix libstdc++ header search paths on Gentoo

Timothy B. Terriberry tterriberry at mozilla.com
Fri Nov 30 20:05:18 PST 2012


This patch fixes the problem reported in 
<http://lists.cs.uiuc.edu/pipermail/cfe-dev/2011-October/018029.html>, 
which I ran into today.

My system requires _both_ the "include/g++-v4" and the "include" 
candidates, so I removed the "break" after the first one is found. Since 
the second one always exists if the first one does, I added a check for 
at least one libstdc++ header in the target path before actually adding 
it, using one header from each of the two paths listed above on my 
system. These were the first headers building clang with itself failed 
on if the corresponding path was not added.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: libstdc++-headers-search.patch
Type: text/x-patch
Size: 1707 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20121130/25c0cb9b/attachment.bin>


More information about the cfe-commits mailing list