* [PATCH] gcc-cross-canadian: Add symlink to real-ld alongside other symlinks
@ 2015-07-31 10:27 Richard Purdie
0 siblings, 0 replies; only message in thread
From: Richard Purdie @ 2015-07-31 10:27 UTC (permalink / raw)
To: openembedded-core
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 <richard.purdie@linuxfoundation.org>
diff --git a/meta/recipes-devtools/gcc/gcc-cross-canadian.inc b/meta/recipes-devtools/gcc/gcc-cross-canadian.inc
index c6465d0..4cffcf6 100644
--- a/meta/recipes-devtools/gcc/gcc-cross-canadian.inc
+++ b/meta/recipes-devtools/gcc/gcc-cross-canadian.inc
@@ -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/
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2015-07-31 10:27 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-07-31 10:27 [PATCH] gcc-cross-canadian: Add symlink to real-ld alongside other symlinks Richard Purdie
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox