[OE-core] [PATCH v2 10/10] libx11.inc: fix build issues for older CentOS distros

McClintock Matthew-B29882 B29882 at freescale.com
Tue Oct 2 15:50:15 UTC 2012


On Fri, Sep 28, 2012 at 10:03 AM, Matthew McClintock <msm at freescale.com> wrote:
> On Fri, Sep 28, 2012 at 9:52 AM, Burton, Ross <ross.burton at intel.com> wrote:
>> On 28 September 2012 02:33, Matthew McClintock <msm at freescale.com> wrote:
>>> Fixes these sorts of issues present on older gcc (CentOS 5.x in this case)
>>>
>>> | cc1: error: unrecognized command line option "-Werror=implicit"
>>> | cc1: error: unrecognized command line option "-Werror=nonnull"
>>
>> Took me a minute to realise why this happens.  This happens when
>> cross-building because although configure is checking that the flags
>> it uses are supported by the compiler, it's only doing that for the
>> cross and not the host compiler.  Right?
>>
>> (upstream bug alert)
>
> Yea,  I suppose the the host compiler should be checked by autotools
> if it supports these warning flags.

Should this block applying this patch to oe-core or will there be
upstream fixes before 1.3?

-M




More information about the Openembedded-core mailing list