[PATCH] Add latest libstdc++ header path for Fedora 15

Hi.

The latest Fedora gcc packages are based on GCC-4.6.1, so the following
small patch is needed to help locate header files such as
"<bits/c++config.h>". With this change I can again build SVN clang with
an installed 'clang++' binary built using GCC.

Thanks.

Art Haas

Index: lib/Frontend/InitHeaderSearch.cpp

Hi.

The latest Fedora gcc packages are based on GCC-4.6.1, so the following
small patch is needed to help locate header files such as
“<bits/c++config.h>”. With this change I can again build SVN clang with
an installed ‘clang++’ binary built using GCC.

I can confirm this solves the Clang build issues on (current) Fedora 15.

Is this okay to commit?

Hi.

I don't have commit access, but I'd hope the patch gets commited shortly
to resolve build issues on updated Fedora 15 machines.

Thanks for confirming the patch resolved the build on your machine(s).

Art Haas

Hi.

The latest Fedora gcc packages are based on GCC-4.6.1, so the following
small patch is needed to help locate header files such as
“<bits/c++config.h>”. With this change I can again build SVN clang with
an installed ‘clang++’ binary built using GCC.

{ … snip … }

I can confirm this solves the Clang build issues on (current) Fedora 15.

Is this okay to commit?

Thanks,

Justin Holewinski

Hi.

I don’t have commit access, but I’d hope the patch gets commited shortly
to resolve build issues on updated Fedora 15 machines.

Thanks for confirming the patch resolved the build on your machine(s).

I went ahead and committed it in r141086.