Openembedded Core Discussions
 help / color / mirror / Atom feed
* [PATCH RFC] binutils: allow distro to select gold as default cross-linker
@ 2011-06-14 15:30 Phil Blundell
  2011-06-14 15:38 ` Koen Kooi
  2011-06-15  2:42 ` Khem Raj
  0 siblings, 2 replies; 13+ messages in thread
From: Phil Blundell @ 2011-06-14 15:30 UTC (permalink / raw)
  To: Patches and discussions about the oe-core layer

This is not particularly pretty but I couldn't think of any obviously
better way of doing it.  Any suggestions?

Signed-off-by: Phil Blundell <philb@gnu.org>
---
 meta/recipes-devtools/binutils/binutils-cross.inc |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/meta/recipes-devtools/binutils/binutils-cross.inc b/meta/recipes-devtools/binutils/binutils-cross.inc
index 4b90972..5a41970 100644
--- a/meta/recipes-devtools/binutils/binutils-cross.inc
+++ b/meta/recipes-devtools/binutils/binutils-cross.inc
@@ -5,7 +5,8 @@ EXTRA_OECONF = "--with-sysroot=${STAGING_DIR_TARGET} \
                 --program-prefix=${TARGET_PREFIX} \
                 --disable-install-libbfd \
                 --disable-werror \
-                --enable-poison-system-directories"
+                --enable-poison-system-directories \
+		${@base_contains('DISTRO_FEATURES', 'ld-is-gold', '--enable-gold=default', '', d)}"
 
 do_install () {
 	oe_runmake 'DESTDIR=${D}' install
-- 
1.7.2.5






^ permalink raw reply related	[flat|nested] 13+ messages in thread

end of thread, other threads:[~2011-06-15 16:53 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-06-14 15:30 [PATCH RFC] binutils: allow distro to select gold as default cross-linker Phil Blundell
2011-06-14 15:38 ` Koen Kooi
2011-06-15  2:44   ` Khem Raj
2011-06-15  8:04   ` Phil Blundell
2011-06-15 14:32     ` Phil Blundell
2011-06-15 16:26       ` Khem Raj
2011-06-15 16:31         ` Phil Blundell
2011-06-15 16:35           ` Khem Raj
2011-06-15 16:42             ` Phil Blundell
2011-06-15 16:47               ` Khem Raj
2011-06-15 16:50                 ` Phil Blundell
2011-06-15  2:42 ` Khem Raj
2011-06-15 11:30   ` Phil Blundell

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox