[cfe-commits] [PATCH] Add the resource directory to the search path for Driver::GetFilePath
peter at pcc.me.uk
Thu Sep 1 14:16:09 PDT 2011
This patch adds the resource directory to the search path for
Driver::GetFilePath, as well as the search path printed by
The main purpose of this change is to cause -print-file-name=include
to print the path to the include directory under Clang's resource
directory, instead of the system compiler's include directory, whose
header files Clang may not be able to parse. Some build scripts will
do something like:
$(CC) -nostdinc -I`$(CC) -print-file-name=include`
to exclude all header paths except the compiler's (I've observed this
happening with uclibc).
OK to commit?
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 2168 bytes
Desc: not available
More information about the cfe-commits