]> code.ossystems Code Review - openembedded-core.git/commitdiff
gcc: use ${base_lib} to match gcc default configuration
authorKumar Gala <galak@kernel.crashing.org>
Thu, 4 Aug 2011 18:54:59 +0000 (13:54 -0500)
committerSaul Wold <sgw@linux.intel.com>
Sat, 6 Aug 2011 20:40:44 +0000 (13:40 -0700)
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>
meta/recipes-devtools/gcc/gcc-cross-intermediate.inc

index df5958ac773b4c41634abc167d074a7ba6182c86..7b1bb3861bf82bdf5d47b46d159643fa9bc0acd3 100644 (file)
@@ -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}/