1
0
mirror of https://git.yoctoproject.org/poky synced 2026-05-09 17:39:31 +00:00

libgcc: correct mode on libgcc_s.so.1 to ensure it gets stripped

If the library is installed without execute permission then package.bbclass
will not consider it for stripping.  This is particularly unfortunate because
there seems to be a bug somewhere else which is causing all DSOs to end up with
a NEEDED dependency on libgcc_s, even if they don't actually require it, and
hence it is getting installed in all images (for uclibc on i586 at least).

(From OE-Core rev: b3724a67ad70f509181555e6be98e1eb3b184bb7)

Signed-off-by: Phil Blundell <philb@gnu.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
Phil Blundell
2011-07-20 11:07:32 +01:00
committed by Richard Purdie
parent 5fdc8ab37e
commit bc48729ee2
+2 -1
View File
@@ -1,6 +1,6 @@
require gcc-${PV}.inc
PR = "r0"
PR = "r1"
INHIBIT_DEFAULT_DEPS = "1"
DEPENDS = "virtual/${TARGET_PREFIX}gcc virtual/${TARGET_PREFIX}g++"
@@ -38,6 +38,7 @@ do_install () {
fi
chown -R root:root ${D}
chmod +x ${D}${base_libdir}/libgcc_s.so.*
}
do_package_write_ipk[depends] += "virtual/libc:do_package"