summaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools/gcc
diff options
context:
space:
mode:
authorRichard Purdie <richard.purdie@linuxfoundation.org>2015-07-31 11:27:05 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2015-08-01 07:34:04 +0100
commitcc21092c6d8563d5ec0ce3ba06a3735daa40fc1e (patch)
tree7476e9fba52f4a898194caa78863cb33c72d6413 /meta/recipes-devtools/gcc
parentc4e40a48fbb5888567c974c0326d8a2cbc2188f0 (diff)
downloadpoky-cc21092c6d8563d5ec0ce3ba06a3735daa40fc1e.tar.gz
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. (From OE-Core rev: cdd86896c8d29135f937968e9aa07f919cf543d3) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-devtools/gcc')
-rw-r--r--meta/recipes-devtools/gcc/gcc-cross-canadian.inc2
1 files changed, 2 insertions, 0 deletions
diff --git a/meta/recipes-devtools/gcc/gcc-cross-canadian.inc b/meta/recipes-devtools/gcc/gcc-cross-canadian.inc
index 750a4f2113..07ecfee8cf 100644
--- a/meta/recipes-devtools/gcc/gcc-cross-canadian.inc
+++ b/meta/recipes-devtools/gcc/gcc-cross-canadian.inc
@@ -141,6 +141,8 @@ do_install () {
141 141
142 ln -sf ${BINRELPATH}/${TARGET_PREFIX}$t$suffix $dest$t$suffix 142 ln -sf ${BINRELPATH}/${TARGET_PREFIX}$t$suffix $dest$t$suffix
143 done 143 done
144 t=real-ld
145 ln -sf ${BINRELPATH}/${TARGET_PREFIX}ld$suffix $dest$t$suffix
144 146
145 # libquadmath headers need to be available in the gcc libexec dir 147 # libquadmath headers need to be available in the gcc libexec dir
146 install -d ${D}${libdir}/gcc/${TARGET_SYS}/${BINV}/include/ 148 install -d ${D}${libdir}/gcc/${TARGET_SYS}/${BINV}/include/