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 99f50f8066..fd624e2711 100644 --- a/meta/recipes-devtools/gcc/gcc-runtime.inc +++ b/meta/recipes-devtools/gcc/gcc-runtime.inc | |||
| @@ -80,6 +80,16 @@ do_install_append_class-target () { | |||
| 80 | if [ "${TARGET_OS}" = "linux-gnuspe" ]; then | 80 | if [ "${TARGET_OS}" = "linux-gnuspe" ]; then |
| 81 | ln -s ${TARGET_SYS} ${D}${includedir}/c++/${BINV}/${TARGET_ARCH}${TARGET_VENDOR}-linux | 81 | ln -s ${TARGET_SYS} ${D}${includedir}/c++/${BINV}/${TARGET_ARCH}${TARGET_VENDOR}-linux |
| 82 | fi | 82 | fi |
| 83 | |||
| 84 | if [ "${TARGET_OS}" = "linux-gnun32" ]; then | ||
| 85 | if [ "${MULTILIBS}" != "" ]; then | ||
| 86 | mkdir ${D}${includedir}/c++/${BINV}/${TARGET_ARCH}-pokymllib64-linux | ||
| 87 | ln -s ../${TARGET_SYS} ${D}${includedir}/c++/${BINV}/${TARGET_ARCH}-pokymllib64-linux/32 | ||
| 88 | else | ||
| 89 | ln -s ${TARGET_SYS} ${D}${includedir}/c++/${BINV}/${TARGET_ARCH}${TARGET_VENDOR}-linux | ||
| 90 | fi | ||
| 91 | fi | ||
| 92 | |||
| 83 | if [ "${TCLIBC}" != "glibc" ]; then | 93 | if [ "${TCLIBC}" != "glibc" ]; then |
| 84 | case "${TARGET_OS}" in | 94 | case "${TARGET_OS}" in |
| 85 | "linux-musl" | "linux-uclibc" | "linux-*spe") extra_target_os="linux";; | 95 | "linux-musl" | "linux-uclibc" | "linux-*spe") extra_target_os="linux";; |
