diff options
| -rw-r--r-- | recipes-devtools/clang/compiler-rt_git.bb | 10 |
1 files changed, 2 insertions, 8 deletions
diff --git a/recipes-devtools/clang/compiler-rt_git.bb b/recipes-devtools/clang/compiler-rt_git.bb index 1b65cd3..33049a5 100644 --- a/recipes-devtools/clang/compiler-rt_git.bb +++ b/recipes-devtools/clang/compiler-rt_git.bb | |||
| @@ -89,14 +89,8 @@ EXTRA_OECMAKE:append:class-nativesdk = "\ | |||
| 89 | EXTRA_OECMAKE:append:powerpc = " -DCOMPILER_RT_DEFAULT_TARGET_ARCH=powerpc " | 89 | EXTRA_OECMAKE:append:powerpc = " -DCOMPILER_RT_DEFAULT_TARGET_ARCH=powerpc " |
| 90 | 90 | ||
| 91 | do_install:append () { | 91 | do_install:append () { |
| 92 | if [ -n "${LLVM_LIBDIR_SUFFIX}" ]; then | 92 | mkdir -p ${D}${nonarch_libdir}/clang/${MAJOR_VER}.${MINOR_VER}.${PATCH_VER}/lib |
| 93 | mkdir -p ${D}${nonarch_libdir}/clang/${MAJOR_VER}.${MINOR_VER}.${PATCH_VER}/lib | 93 | mv ${D}${nonarch_libdir}/linux ${D}${nonarch_libdir}/clang/${MAJOR_VER}.${MINOR_VER}.${PATCH_VER}/lib |
| 94 | mv ${D}${libdir}/linux ${D}${nonarch_libdir}/clang/${MAJOR_VER}.${MINOR_VER}.${PATCH_VER}/lib | ||
| 95 | rmdir --ignore-fail-on-non-empty ${D}${libdir} | ||
| 96 | else | ||
| 97 | mkdir -p ${D}${libdir}/clang/${MAJOR_VER}.${MINOR_VER}.${PATCH_VER}/lib | ||
| 98 | mv ${D}${libdir}/linux ${D}${libdir}/clang/${MAJOR_VER}.${MINOR_VER}.${PATCH_VER}/lib | ||
| 99 | fi | ||
| 100 | } | 94 | } |
| 101 | 95 | ||
| 102 | FILES_SOLIBSDEV = "" | 96 | FILES_SOLIBSDEV = "" |
