]> 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>
Mon, 30 Jan 2012 16:27:13 +0000 (16:27 +0000)
commit6ce3482c0f50b95d1d60d3c9250a9ab38fca76fe
treeec6307f957314f9dda6612d4d65018aa7396a106
parent535f7e52b02b6434fca5265eba8d366f483ce33c
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.

(From OE-Core rev: 68cca5ca15cbdd53748ec130fb6f20cbb3fb5072)

Signed-off-by: Tom Zanussi <tom.zanussi@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/recipes-support/gmp/gmp_5.0.2.bb