summaryrefslogtreecommitdiffstats
path: root/recipes-devtools/clang/nativesdk-clang-glue.bb
Commit message (Collapse)AuthorAgeFilesLines
* nativesdk-clang-glue: Add recipe for glueing clang crossdkKhem Raj2015-07-231-0/+27
clang differs subtly when it comes to sysroot support as compared to gcc where the gcc driver is compiled with lot of the paths and information clang is not, nativesdk sysroot is tuned to where gcc expects it, this does not work well for clang, since clang looks for all headers/libraries/compiler-runtime under same sysroot whereas gcc has diffrent understanding of sysroot for target and where it expects gcc headers and other tools needed for compilation. Anyway short story is that we create symlinks into directories for include/ and usr/lib so clang is happy and it does not affect gcc crosssdk Signed-off-by: Khem Raj <raj.khem@gmail.com>