[OE-core] [PATCH 2/2] libx11: fix nativesdk build on older distros

Burton, Ross ross.burton at intel.com
Tue Sep 25 19:09:28 UTC 2012


On 25 September 2012 19:55, McClintock Matthew-B29882
<B29882 at freescale.com> wrote:
>> I read somewhere (very informative - I know - but I've forgot where)
>> that you are not supposed to include config.h for CC_FOR_BUILD
>> targets? I'm not expert and just double checking on this bit as the
>> correct solution.
>
> Found it: http://sources.redhat.com/autobook/autobook/autobook_270.html

That is a very good point, hadn't thought of that (and I recommend
that book to everyone, clearly I should re-read it).

The best fix is to just #define _GNU_SOURCE at the top of makekeys
then, and push that upstream (mail patch to xorg-devel at lists.x.org).

Ross




More information about the Openembedded-core mailing list