mirror of
https://git.yoctoproject.org/poky
synced 2026-05-31 00:39:46 +00:00
gcc-cross-canadian: add symlinks for ld.bfd and ld.gold
When -fuse-ld gcc option is used, missing ld.bfd or ld.gold symlinks can lead to linker error: collect2: fatal error: cannot find 'ld' (From OE-Core rev: 9ec1cd0a1e4cc2740be37585231279adf91c47d7) Signed-off-by: Samuli Piippo <samuli.piippo@qt.io> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
committed by
Richard Purdie
parent
0411a1e027
commit
e7cc8ac2d3
@@ -124,7 +124,7 @@ do_install () {
|
|||||||
dest=${D}${libexecdir}/gcc/${TARGET_SYS}/${BINV}/
|
dest=${D}${libexecdir}/gcc/${TARGET_SYS}/${BINV}/
|
||||||
install -d $dest
|
install -d $dest
|
||||||
suffix=${EXEEXT}
|
suffix=${EXEEXT}
|
||||||
for t in ar as ld nm objcopy objdump ranlib strip g77 gcc cpp gfortran; do
|
for t in ar as ld ld.bfd ld.gold nm objcopy objdump ranlib strip g77 gcc cpp gfortran; do
|
||||||
if [ "$t" = "g77" -o "$t" = "gfortran" ] && [ ! -e ${D}${bindir}/${TARGET_PREFIX}$t$suffix ]; then
|
if [ "$t" = "g77" -o "$t" = "gfortran" ] && [ ! -e ${D}${bindir}/${TARGET_PREFIX}$t$suffix ]; then
|
||||||
continue
|
continue
|
||||||
fi
|
fi
|
||||||
|
|||||||
Reference in New Issue
Block a user