summaryrefslogtreecommitdiff
path: root/meta/recipes-devtools
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 12:50:17 +0100
commit81ecc9d468c36b36c4b2ccc4ab5f366611a8fa46 (patch)
tree7816606f7a409bb14478dd32880ef35d6c7b1aec /meta/recipes-devtools
parentf4ed063e32f064e996a4c29760fa4ac49f1ed73c (diff)
downloadopenembedded-core-81ecc9d468c36b36c4b2ccc4ab5f366611a8fa46.tar.gz
openembedded-core-81ecc9d468c36b36c4b2ccc4ab5f366611a8fa46.tar.bz2
openembedded-core-81ecc9d468c36b36c4b2ccc4ab5f366611a8fa46.zip
binutils: Enable plugins by default
Plugins work well in 2.22+ so lets enable them helps with lto Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-devtools')
-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}"
EXTRA_OECONF = "--program-prefix=${TARGET_PREFIX} \
--disable-werror \
+ --enable-plugins \
${@base_contains('DISTRO_FEATURES', 'ld-is-gold', '--enable-gold=default', '', d)} \
${@base_contains('DISTRO_FEATURES', 'multiarch', '--enable-64-bit-bfd', '', d)}"