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

Burton, Ross ross.burton at intel.com
Fri Sep 28 14:52:38 UTC 2012


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)

Ross




More information about the Openembedded-core mailing list