summaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools/libtool/libtool-nativesdk_2.4.bb
diff options
context:
space:
mode:
authorRichard Purdie <richard.purdie@linuxfoundation.org>2011-11-16 16:58:34 +0000
committerRichard Purdie <richard.purdie@linuxfoundation.org>2011-11-24 08:30:59 +0000
commit61c51bfce9ec68062adf8e525c30bf0e179a7f3c (patch)
tree0c346da13f556385751fe901776d87e9c76e68d6 /meta/recipes-devtools/libtool/libtool-nativesdk_2.4.bb
parentdc2d701207435b0dbd521a11d152f11d0f18d11e (diff)
downloadast2050-yocto-poky-61c51bfce9ec68062adf8e525c30bf0e179a7f3c.zip
ast2050-yocto-poky-61c51bfce9ec68062adf8e525c30bf0e179a7f3c.tar.gz
libtool: Avoid relinking when cross compiling, its pointless
There is no point in having "executable" binaries in the .libs directory linked with different rpaths to the target which could concivably be run on the build system when cross compiling. This patch removes the extra rpaths ($compile_rpath) so that the output from the "link" stage can be used on the target. We can then avoid having to "relink" during the install stage. This saves some build time (do_install is over 2 minutes faster for pulseaudio). This patch also removes an annoying "seems to be moved" warning which is totally bogus in the sysroot case. (From OE-Core rev: 0a1dedeb8eea4e230b47d1516b3e6e90495fe49d) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-devtools/libtool/libtool-nativesdk_2.4.bb')
-rw-r--r--meta/recipes-devtools/libtool/libtool-nativesdk_2.4.bb3
1 files changed, 2 insertions, 1 deletions
diff --git a/meta/recipes-devtools/libtool/libtool-nativesdk_2.4.bb b/meta/recipes-devtools/libtool/libtool-nativesdk_2.4.bb
index a96d1d1..bf1928d 100644
--- a/meta/recipes-devtools/libtool/libtool-nativesdk_2.4.bb
+++ b/meta/recipes-devtools/libtool/libtool-nativesdk_2.4.bb
@@ -1,7 +1,8 @@
require libtool-${PV}.inc
-PR = "r4"
+PR = "r5"
SRC_URI += "file://prefix.patch"
+SRC_URI += "file://fixinstall.patch"
inherit nativesdk
OpenPOWER on IntegriCloud