]> code.ossystems Code Review - openembedded-core.git/commit
gcc-cross-intermediate: fix do_install for x32
authorNitin A Kamble <nitin.a.kamble@intel.com>
Tue, 3 Apr 2012 19:35:03 +0000 (12:35 -0700)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Wed, 4 Apr 2012 15:54:32 +0000 (16:54 +0100)
commite65b6a4282d5c4882d0565b79ccba99db90161ff
treeae2ad878dc259cca36c543690e80d6ec25fd381c
parentd2a54427481856238bdfec9723cf575088320512
gcc-cross-intermediate: fix do_install for x32

This Fixes [Ycoto #2223] bug.

The gcc osdir is obtained in the do_install by invocation of
command "gcc -print-multi-os-directory". For x32 it returns gcc
osdir for the default abi which is x86_64. Fix this by adding
target abi parameter to the gcc command line to get correct gcc
osdir with invocation of command "gcc -mx32 -print-multi-os-directory"

Signed-off-by: Nitin A Kamble <nitin.a.kamble@intel.com>
meta/recipes-devtools/gcc/gcc-cross-intermediate.inc