diff options
author | Khem Raj <raj.khem@gmail.com> | 2012-07-05 14:29:55 -0700 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2012-07-17 10:54:07 +0100 |
commit | ac8ec3bb3d697fccfe80ca430cd1e73387775348 (patch) | |
tree | 59f69ba0e5d67e8b1b090b66e2e8b8215046a667 /meta/recipes-devtools/gcc/gcc-cross-initial.inc | |
parent | 7765ad4d69bfb6c15fb436e509574629e896f2e6 (diff) | |
download | poky-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/gcc/gcc-cross-initial.inc')
-rw-r--r-- | meta/recipes-devtools/gcc/gcc-cross-initial.inc | 1 |
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 | ||
26 | do_compile () { | 27 | do_compile () { |