Openembedded Core Discussions
 help / color / mirror / Atom feed
* [PATCH] gcc-package-cross: also install the symlinks in libexec with target prefix
@ 2011-06-03 11:30 Phil Blundell
  2011-06-06 17:09 ` Saul Wold
  0 siblings, 1 reply; 2+ messages in thread
From: Phil Blundell @ 2011-06-03 11:30 UTC (permalink / raw)
  To: Patches and discussions about the oe-core layer

... since this is where collect2 seems to look for them.  This seems like
it is really a bug in collect2, but installing the symlinks is an easy
workaround.  Without this you get "could not find ld" errors when using -flto.

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

diff --git a/meta/recipes-devtools/gcc/gcc-package-cross.inc b/meta/recipes-devtools/gcc/gcc-package-cross.inc
index 04c8101..b51336b 100644
--- a/meta/recipes-devtools/gcc/gcc-package-cross.inc
+++ b/meta/recipes-devtools/gcc/gcc-package-cross.inc
@@ -20,6 +20,7 @@ do_install () {
 	install -d $dest
 	for t in ar as ld nm objcopy objdump ranlib strip g77 gcc cpp gfortran; do
 		ln -sf ${BINRELPATH}/${TARGET_PREFIX}$t $dest$t
+		ln -sf ${BINRELPATH}/${TARGET_PREFIX}$t ${dest}${TARGET_PREFIX}$t
 	done
 
 	# Remove things we don't need but keep share/java
-- 
1.7.2.5






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

end of thread, other threads:[~2011-06-06 17:12 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-06-03 11:30 [PATCH] gcc-package-cross: also install the symlinks in libexec with target prefix Phil Blundell
2011-06-06 17:09 ` Saul Wold

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