summaryrefslogtreecommitdiffstats
path: root/meta
diff options
context:
space:
mode:
authorPhil Blundell <pb@pbcl.net>2011-06-03 12:30:11 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2011-06-06 15:58:40 +0100
commit1b817aa64a16ee9b6f13dc090a8c332e6afc9215 (patch)
tree260ecb666524f6e2cfd46ce84d949cc045288b29 /meta
parent61bca46ac8991b3919bc750c5d6347400beac370 (diff)
downloadpoky-1b817aa64a16ee9b6f13dc090a8c332e6afc9215.tar.gz
gcc-package-cross: also install the symlinks in libexec with target prefix
.. since this is where collect2 seems to look for them. This seems like it is really a bug in collect2, but installing the symlinks is an easy workaround. Without this you get "could not find ld" errors when using -flto. (From OE-Core rev: d69561d80a995a52f3c7abfdbfd183fc7846046d) 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/gcc-package-cross.inc1
1 files changed, 1 insertions, 0 deletions
diff --git a/meta/recipes-devtools/gcc/gcc-package-cross.inc b/meta/recipes-devtools/gcc/gcc-package-cross.inc
index 04c81017df..b51336bf2d 100644
--- a/meta/recipes-devtools/gcc/gcc-package-cross.inc
+++ b/meta/recipes-devtools/gcc/gcc-package-cross.inc
@@ -20,6 +20,7 @@ do_install () {
20 install -d $dest 20 install -d $dest
21 for t in ar as ld nm objcopy objdump ranlib strip g77 gcc cpp gfortran; do 21 for t in ar as ld nm objcopy objdump ranlib strip g77 gcc cpp gfortran; do
22 ln -sf ${BINRELPATH}/${TARGET_PREFIX}$t $dest$t 22 ln -sf ${BINRELPATH}/${TARGET_PREFIX}$t $dest$t
23 ln -sf ${BINRELPATH}/${TARGET_PREFIX}$t ${dest}${TARGET_PREFIX}$t
23 done 24 done
24 25
25 # Remove things we don't need but keep share/java 26 # Remove things we don't need but keep share/java