Hi, On 26 September 2012 05:09, Burton, Ross <[email protected]> wrote: > On 25 September 2012 19:55, McClintock Matthew-B29882 > <[email protected]> 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 [email protected]).
Actually, it isn't, as that breaks non-glibc badly. glibc takes _GNU_SOURCE to mean 'please add useful GNU extensions to this POSIX wasteland', whereas BSD and/or Solaris take it to mean 'please make this only GNU and don't use any other extensions at all'. So we have to do whatever AC_USE_SYSTEM_EXTENSIONS does, because that really is the only thing that actually works. Cheers, Daniel _______________________________________________ Openembedded-core mailing list [email protected] http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core
