diff options
| -rw-r--r-- | meta/recipes-devtools/gcc/gcc-runtime.inc | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/meta/recipes-devtools/gcc/gcc-runtime.inc b/meta/recipes-devtools/gcc/gcc-runtime.inc index 526be55f7b..9791e21434 100644 --- a/meta/recipes-devtools/gcc/gcc-runtime.inc +++ b/meta/recipes-devtools/gcc/gcc-runtime.inc | |||
| @@ -82,6 +82,16 @@ do_install_append_class-target () { | |||
| 82 | if [ "${TARGET_OS}" = "linux-gnuspe" ]; then | 82 | if [ "${TARGET_OS}" = "linux-gnuspe" ]; then |
| 83 | ln -s ${TARGET_SYS} ${D}${includedir}/c++/${BINV}/${TARGET_ARCH}${TARGET_VENDOR}-linux | 83 | ln -s ${TARGET_SYS} ${D}${includedir}/c++/${BINV}/${TARGET_ARCH}${TARGET_VENDOR}-linux |
| 84 | fi | 84 | fi |
| 85 | |||
| 86 | if [ "${TARGET_OS}" = "linux-gnun32" ]; then | ||
| 87 | if [ "${MULTILIBS}" != "" ]; then | ||
| 88 | mkdir ${D}${includedir}/c++/${BINV}/${TARGET_ARCH}-pokymllib64-linux | ||
| 89 | ln -s ../${TARGET_SYS} ${D}${includedir}/c++/${BINV}/${TARGET_ARCH}-pokymllib64-linux/32 | ||
| 90 | else | ||
| 91 | ln -s ${TARGET_SYS} ${D}${includedir}/c++/${BINV}/${TARGET_ARCH}${TARGET_VENDOR}-linux | ||
| 92 | fi | ||
| 93 | fi | ||
| 94 | |||
| 85 | if [ "${TCLIBC}" != "glibc" ]; then | 95 | if [ "${TCLIBC}" != "glibc" ]; then |
| 86 | case "${TARGET_OS}" in | 96 | case "${TARGET_OS}" in |
| 87 | "linux-musl" | "linux-uclibc" | "linux-*spe") extra_target_os="linux";; | 97 | "linux-musl" | "linux-uclibc" | "linux-*spe") extra_target_os="linux";; |
