[OE-core] [PATCH 1/1] nfs-utils: use cross toolchain to compile testlk

Burton, Ross ross.burton at intel.com
Thu May 29 10:15:51 UTC 2014


On 29 May 2014 10:10, Chong Lu <Chong.Lu at windriver.com> wrote:
> testlk is built with host gcc at do_compile stage, which leads to unrecognized
> some flags for special architecture. Using cross toolchain instead.

The makefile explicitly uses the host compiler, so presumably there's
a good reason for this.  If the problem is that the host compiler is
being passed target CFLAGS, then you should set AM_CFLAGS to
CFLAGS_FOR_BUILD and so on.

Ross



More information about the Openembedded-core mailing list