androidclang: Skip useless-rpaths check

Message ID 20220227022844.3604861-1-raj.khem@gmail.com
State New
Headers show
Series androidclang: Skip useless-rpaths check | expand

Commit Message

Khem Raj Feb. 27, 2022, 2:28 a.m. UTC
This is a prebuilt stuff, better to ignore its guts.

Fixes
androidclang: /usr/share/clang-r416183b/python3/lib/python3.9/lib-dynload/_posixsubprocess.cpython-39-x86_64-linux-gnu.so contains probably-redundant RPATH /../lib [useless-rpaths]

Signed-off-by: Khem Raj <raj.khem@gmail.com>
---
 .../external-arm-toolchain/androidclang_r416183b.bb             | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Jon Mason March 1, 2022, 4:22 p.m. UTC | #1
On Sat, 26 Feb 2022 18:28:44 -0800, Khem Raj wrote:
> This is a prebuilt stuff, better to ignore its guts.
> 
> Fixes
> androidclang: /usr/share/clang-r416183b/python3/lib/python3.9/lib-dynload/_posixsubprocess.cpython-39-x86_64-linux-gnu.so contains probably-redundant RPATH /../lib [useless-rpaths]

Applied, thanks!

[1/1] androidclang: Skip useless-rpaths check
      commit: 3fbb255aa744a75e905638c19d096cb2ee90e7c5

Best regards,

Patch

diff --git a/meta-arm-toolchain/recipes-devtools/external-arm-toolchain/androidclang_r416183b.bb b/meta-arm-toolchain/recipes-devtools/external-arm-toolchain/androidclang_r416183b.bb
index d28d6b1..8213388 100644
--- a/meta-arm-toolchain/recipes-devtools/external-arm-toolchain/androidclang_r416183b.bb
+++ b/meta-arm-toolchain/recipes-devtools/external-arm-toolchain/androidclang_r416183b.bb
@@ -43,7 +43,7 @@  do_install() {
 
 INHIBIT_DEFAULT_DEPS = "1"
 
-INSANE_SKIP:${PN} = "already-stripped libdir staticdev file-rdeps arch dev-so"
+INSANE_SKIP:${PN} = "already-stripped libdir staticdev file-rdeps arch dev-so useless-rpaths"
 
 INHIBIT_SYSROOT_STRIP = "1"
 INHIBIT_PACKAGE_STRIP = "1"