diff options
author | Khem Raj <raj.khem@gmail.com> | 2016-05-11 10:35:45 -0700 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2016-05-13 13:40:53 +0100 |
commit | fcaaabb401fffcda4db9a7d1f927a2a404e4776d (patch) | |
tree | 35f71d9d013f3022a7eda56f4733a60535959028 /meta/site/mips64-linux-uclibc | |
parent | 8f8aebc59df181071245cfeb6eb4a3efaf65c597 (diff) | |
download | openembedded-core-fcaaabb401fffcda4db9a7d1f927a2a404e4776d.tar.gz openembedded-core-fcaaabb401fffcda4db9a7d1f927a2a404e4776d.tar.bz2 openembedded-core-fcaaabb401fffcda4db9a7d1f927a2a404e4776d.zip |
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
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/site/mips64-linux-uclibc')
0 files changed, 0 insertions, 0 deletions