Openembedded Core Discussions
 help / color / mirror / Atom feed
* [PATCH] gcc: use ${base_lib} to match gcc default configuration
@ 2011-08-04 18:54 Kumar Gala
  2011-08-05 16:53 ` Kumar Gala
  2011-08-11  6:36 ` Yu Ke
  0 siblings, 2 replies; 10+ messages in thread
From: Kumar Gala @ 2011-08-04 18:54 UTC (permalink / raw)
  To: openembedded-core

Rather than tweaking MULTILIB_DIRNAMES & MULTILIB_OSDIRNAMES like is
done for x86-64 via 64bithack.patch.  We can just go with gcc defaults
and utilize ${base_lib} for where to find gcc libs.

Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
---
 .../gcc/gcc-cross-intermediate.inc                 |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/meta/recipes-devtools/gcc/gcc-cross-intermediate.inc b/meta/recipes-devtools/gcc/gcc-cross-intermediate.inc
index df5958a..7b1bb38 100644
--- a/meta/recipes-devtools/gcc/gcc-cross-intermediate.inc
+++ b/meta/recipes-devtools/gcc/gcc-cross-intermediate.inc
@@ -34,7 +34,7 @@ do_compile () {
 do_install () {
 	oe_runmake 'DESTDIR=${D}' install
 	install -d ${D}${target_base_libdir}/
-	mv ${D}${exec_prefix}/${TARGET_SYS}/lib/* ${D}${target_base_libdir}/
+	mv ${D}${exec_prefix}/${TARGET_SYS}/${baselib}/* ${D}${target_base_libdir}/
 
 	# We don't really need this (here shares/ contains man/, info/, locale/).
 	rm -rf ${D}${datadir}/
-- 
1.7.3.4




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

end of thread, other threads:[~2011-08-11 19:00 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-08-04 18:54 [PATCH] gcc: use ${base_lib} to match gcc default configuration Kumar Gala
2011-08-05 16:53 ` Kumar Gala
2011-08-05 16:56   ` Saul Wold
2011-08-11  6:36 ` Yu Ke
2011-08-11  6:47   ` Kumar Gala
2011-08-11  7:45     ` Yu Ke
2011-08-11 14:54       ` Khem Raj
2011-08-11 15:30     ` Richard Purdie
2011-08-11 18:41       ` Richard Purdie
2011-08-11 18:55         ` Kumar Gala

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