diff --git a/meta-ohos-staging/recipes-devtools/binutils/binutils_2.37.bb b/meta-ohos-staging/recipes-devtools/binutils/binutils_2.37.bb index ee9617de1d900acf1019e0ffb00e7f36b8340bfc..e848867f24dd9e63412032bbed345e8b2b198975 100644 --- a/meta-ohos-staging/recipes-devtools/binutils/binutils_2.37.bb +++ b/meta-ohos-staging/recipes-devtools/binutils/binutils_2.37.bb @@ -54,6 +54,10 @@ do_install_class-native () { rmdir ${D}/${libdir}64 || : } +do_install_append_class-target () { + chmod o-rx ${D}${prefix}/${TARGET_SYS}/bin/* +} + # libctf races with libbfd PARALLEL_MAKEINST_class-target = "" PARALLEL_MAKEINST_class-nativesdk = ""