summaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools/gcc/gcc-cross-initial.inc
diff options
context:
space:
mode:
Diffstat (limited to 'meta/recipes-devtools/gcc/gcc-cross-initial.inc')
-rw-r--r--meta/recipes-devtools/gcc/gcc-cross-initial.inc4
1 files changed, 3 insertions, 1 deletions
diff --git a/meta/recipes-devtools/gcc/gcc-cross-initial.inc b/meta/recipes-devtools/gcc/gcc-cross-initial.inc
index 5a6da8bbd2..23a6d4beb4 100644
--- a/meta/recipes-devtools/gcc/gcc-cross-initial.inc
+++ b/meta/recipes-devtools/gcc/gcc-cross-initial.inc
@@ -57,7 +57,9 @@ do_install () {
57 # found. These need to be relative paths so they work in different locations. 57 # found. These need to be relative paths so they work in different locations.
58 dest=${D}${libexecdir}/gcc/${TARGET_SYS}/${BINV}/ 58 dest=${D}${libexecdir}/gcc/${TARGET_SYS}/${BINV}/
59 install -d $dest 59 install -d $dest
60 for t in ar as ld nm objcopy objdump ranlib strip g77 gcc cpp gfortran; do 60 useld=${@bb.utils.contains('DISTRO_FEATURES', 'ld-is-gold', '.bfd', '', d)}
61 ln -sf ${BINRELPATH}/${TARGET_PREFIX}ld${useld} ${dest}ld
62 for t in ar as nm objcopy objdump ranlib strip g77 gcc cpp gfortran; do
61 ln -sf ${BINRELPATH}/${TARGET_PREFIX}$t $dest$t 63 ln -sf ${BINRELPATH}/${TARGET_PREFIX}$t $dest$t
62 done 64 done
63 # fixed limits.h infact includes the so called real limits.h 65 # fixed limits.h infact includes the so called real limits.h