summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKhem Raj <raj.khem@gmail.com>2012-06-20 08:18:40 -0700
committerRichard Purdie <richard.purdie@linuxfoundation.org>2012-06-21 13:03:04 +0100
commit50bc31150bc7831fde43ba77fb21f443065449e7 (patch)
tree77d2889cb5e99e6fef3796fcd2929d0de969869d
parente146139b42460e20db9749e8fdebd14db8513034 (diff)
downloadpoky-50bc31150bc7831fde43ba77fb21f443065449e7.tar.gz
binutils: Enable plugins by default
Plugins work well in 2.22+ so lets enable them helps with lto (From OE-Core rev: 81ecc9d468c36b36c4b2ccc4ab5f366611a8fa46) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r--meta/recipes-devtools/binutils/binutils.inc1
1 files changed, 1 insertions, 0 deletions
diff --git a/meta/recipes-devtools/binutils/binutils.inc b/meta/recipes-devtools/binutils/binutils.inc
index 19cb06a7f5..5c8e55bec3 100644
--- a/meta/recipes-devtools/binutils/binutils.inc
+++ b/meta/recipes-devtools/binutils/binutils.inc
@@ -51,6 +51,7 @@ B = "${S}/build.${HOST_SYS}.${TARGET_SYS}"
51 51
52EXTRA_OECONF = "--program-prefix=${TARGET_PREFIX} \ 52EXTRA_OECONF = "--program-prefix=${TARGET_PREFIX} \
53 --disable-werror \ 53 --disable-werror \
54 --enable-plugins \
54 ${@base_contains('DISTRO_FEATURES', 'ld-is-gold', '--enable-gold=default', '', d)} \ 55 ${@base_contains('DISTRO_FEATURES', 'ld-is-gold', '--enable-gold=default', '', d)} \
55 ${@base_contains('DISTRO_FEATURES', 'multiarch', '--enable-64-bit-bfd', '', d)}" 56 ${@base_contains('DISTRO_FEATURES', 'multiarch', '--enable-64-bit-bfd', '', d)}"
56 57