gcc-cross-canadian: Add symlink to real-ld alongside other symlinks
PATCH 1/1 gcc-cross-canadian: Add symlink to real-ld alongside other symlinks
In some cases such as cross architecture configurations (using mips-X-linux on mips64-X-linux), gcc can get confused about finding a 'real' version of ld. Adding a symlink to 'real-ld' allowed these configurations to work properly.
Signed-off-by Richard Purdie <[email protected]>
meta/recipes-devtools/gcc/gcc-cross-canadian.inc +2 -0
@@ -136,6 +136,8 @@ do_install () { ln -sf ${BINRELPATH}/${TARGET_PREFIX}$t$suffix $dest$t$suffix done + t=real-ld + ln -sf ${BINRELPATH}/${TARGET_PREFIX}ld$suffix $dest$t$suffix # libquadmath headers need to be available in the gcc libexec dir install -d ${D}${libdir}/gcc/${TARGET_SYS}/${BINV}/include/