diff options
| author | Phil Blundell <philb@gnu.org> | 2011-07-20 11:07:32 +0100 |
|---|---|---|
| committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2011-07-20 15:32:57 +0100 |
| commit | bc48729ee2ad8b40d058621095bd5578728e0ec0 (patch) | |
| tree | d2fd33424632384013247ae2752204c017d4d413 /meta | |
| parent | 5fdc8ab37e11781112e74f93f6c420ecb303fa88 (diff) | |
| download | poky-bc48729ee2ad8b40d058621095bd5578728e0ec0.tar.gz | |
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>
Diffstat (limited to 'meta')
| -rw-r--r-- | meta/recipes-devtools/gcc/libgcc_4.6.bb | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/meta/recipes-devtools/gcc/libgcc_4.6.bb b/meta/recipes-devtools/gcc/libgcc_4.6.bb index b0523c78ac..6a77ce4653 100644 --- a/meta/recipes-devtools/gcc/libgcc_4.6.bb +++ b/meta/recipes-devtools/gcc/libgcc_4.6.bb | |||
| @@ -1,6 +1,6 @@ | |||
| 1 | require gcc-${PV}.inc | 1 | require gcc-${PV}.inc |
| 2 | 2 | ||
| 3 | PR = "r0" | 3 | PR = "r1" |
| 4 | 4 | ||
| 5 | INHIBIT_DEFAULT_DEPS = "1" | 5 | INHIBIT_DEFAULT_DEPS = "1" |
| 6 | DEPENDS = "virtual/${TARGET_PREFIX}gcc virtual/${TARGET_PREFIX}g++" | 6 | DEPENDS = "virtual/${TARGET_PREFIX}gcc virtual/${TARGET_PREFIX}g++" |
| @@ -38,6 +38,7 @@ do_install () { | |||
| 38 | fi | 38 | fi |
| 39 | 39 | ||
| 40 | chown -R root:root ${D} | 40 | chown -R root:root ${D} |
| 41 | chmod +x ${D}${base_libdir}/libgcc_s.so.* | ||
| 41 | } | 42 | } |
| 42 | 43 | ||
| 43 | do_package_write_ipk[depends] += "virtual/libc:do_package" | 44 | do_package_write_ipk[depends] += "virtual/libc:do_package" |
