]> code.ossystems Code Review - openembedded-core.git/commit
gmp_5.0.2: Set CC_FOR_BUILD to BUILD_CC
authorTom Zanussi <tom.zanussi@intel.com>
Wed, 2 Nov 2011 03:25:58 +0000 (22:25 -0500)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Tue, 8 Nov 2011 21:44:22 +0000 (21:44 +0000)
commit68cca5ca15cbdd53748ec130fb6f20cbb3fb5072
tree56279b8ad8f1afe6649ce1108058477b38cb5470
parent49dcb301ab39327554d86d23cf6f8d435d7a7351
gmp_5.0.2: Set CC_FOR_BUILD to BUILD_CC

CC_FOR_BUILD was compiling the test programs using the target's
compile options and executing those on the host, causing errors such
as:

/bin/sh: line 1: 15032 Illegal instruction     ./gen-bases table 64 0 > mpn/mp_bases.c
/bin/sh: line 1: 15033 Illegal instruction     ./gen-bases header 64 0 > mp_bases.h

Export CC_FOR_BUILD using BUILD_CC to fix the problem.

Signed-off-by: Tom Zanussi <tom.zanussi@intel.com>
meta/recipes-support/gmp/gmp_5.0.2.bb