On 29 May 2014 10:10, Chong Lu <chong...@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 -- _______________________________________________ Openembedded-core mailing list Openembedded-core@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-core