summaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools
diff options
context:
space:
mode:
authorKhem Raj <raj.khem@gmail.com>2012-07-05 14:29:55 -0700
committerRichard Purdie <richard.purdie@linuxfoundation.org>2012-07-17 10:54:07 +0100
commitac8ec3bb3d697fccfe80ca430cd1e73387775348 (patch)
tree59f69ba0e5d67e8b1b090b66e2e8b8215046a667 /meta/recipes-devtools
parent7765ad4d69bfb6c15fb436e509574629e896f2e6 (diff)
downloadpoky-ac8ec3bb3d697fccfe80ca430cd1e73387775348.tar.gz
gcc-cross-initial.inc: Use BFD ld as default always
When using gold as default linker in final toolchain gcc-cross-initial still needs to use BFD ld since it will link eglibc-initial (From OE-Core rev: f643f886b16f586426c744afde080a99d71a9d58) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-devtools')
-rw-r--r--meta/recipes-devtools/gcc/gcc-cross-initial.inc1
1 files changed, 1 insertions, 0 deletions
diff --git a/meta/recipes-devtools/gcc/gcc-cross-initial.inc b/meta/recipes-devtools/gcc/gcc-cross-initial.inc
index 0523698030..93a6d78e2e 100644
--- a/meta/recipes-devtools/gcc/gcc-cross-initial.inc
+++ b/meta/recipes-devtools/gcc/gcc-cross-initial.inc
@@ -21,6 +21,7 @@ EXTRA_OECONF = "--with-newlib \
21 --with-sysroot=${STAGING_DIR_TARGET} \ 21 --with-sysroot=${STAGING_DIR_TARGET} \
22 --with-build-sysroot=${STAGING_DIR_TARGET} \ 22 --with-build-sysroot=${STAGING_DIR_TARGET} \
23 ${EXTRA_OECONF_INITIAL} \ 23 ${EXTRA_OECONF_INITIAL} \
24 ${@base_contains('DISTRO_FEATURES', 'ld-is-gold', '--with-ld=${STAGING_BINDIR_TOOLCHAIN}/${TARGET_PREFIX}ld.bfd', '', d)} \
24 ${EXTRA_OECONF_FPU}" 25 ${EXTRA_OECONF_FPU}"
25 26
26do_compile () { 27do_compile () {