Patchwork [5/5] binutils: Enable plugins by default

login
register
mail settings
Submitter Khem Raj
Date June 20, 2012, 3:18 p.m.
Message ID <b944731941ce4c3b9fb916322bebac23f3a7af08.1340205164.git.raj.khem@gmail.com>
Download mbox | patch
Permalink /patch/30331/
State Accepted
Commit 81ecc9d468c36b36c4b2ccc4ab5f366611a8fa46
Headers show

Comments

Khem Raj - June 20, 2012, 3:18 p.m.
Plugins work well in 2.22+ so lets enable them
helps with lto

Signed-off-by: Khem Raj <raj.khem@gmail.com>
---
 meta/recipes-devtools/binutils/binutils.inc |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

Patch

diff --git a/meta/recipes-devtools/binutils/binutils.inc b/meta/recipes-devtools/binutils/binutils.inc
index 19cb06a..5c8e55b 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)}"