Files
poky/meta/recipes-devtools/gcc
Khem Raj 9a309684cf gcc-runtime, libgcc: Symlink c++ header and startup files in target_triplet for SDK use
We build SDKs such that gcc-cross-candian is built for only one
target *-*-linux and then use -muclibc or -mmusl to let it compile
code for other libc variants. This works fine when libc = glibc
however it does not work for c++ programs when libc != glibc since
there are c++ headers installed under ${includedir}/c++/${BINV}/${TARGET_SYS}
which is fine when gcc-runtime and gcc-cross-candian uses same --target options
gxx includedir searches in right triplet, but it fails with musl/uclibc
since gcc will look for glibc based triplet but gcc-runtime will install
them under musl/uclibc triplet.

This patch symlinks the musl/uclibc triplet to glibc triplet when libc != glibc

This fixes SDKs for musl/uclibc

(From OE-Core rev: fcaaabb401fffcda4db9a7d1f927a2a404e4776d)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2016-05-13 13:41:32 +01:00
..
2016-05-13 13:41:28 +01:00
2015-12-22 16:08:49 +00:00
2016-05-13 13:41:28 +01:00
2016-05-13 13:41:28 +01:00
2014-05-06 17:59:15 +01:00
2016-05-13 13:41:28 +01:00
2014-05-06 17:59:15 +01:00
2014-05-06 17:59:15 +01:00
2016-05-13 13:41:28 +01:00
2014-05-06 17:59:15 +01:00
2016-05-13 13:41:28 +01:00
2014-05-06 17:59:15 +01:00
2016-05-13 13:41:28 +01:00
2016-05-13 13:41:28 +01:00
2016-05-13 13:41:28 +01:00
2014-05-06 17:59:15 +01:00
2015-12-22 16:08:49 +00:00
2016-05-13 13:41:28 +01:00
2014-05-06 17:59:15 +01:00
2016-05-13 13:41:28 +01:00
2014-05-06 17:59:15 +01:00
2016-05-13 13:41:28 +01:00