[OE-core] [PATCH v2 10/16] Fix mdadm for powerpc64
Richard Purdie
richard.purdie at linuxfoundation.org
Fri Sep 30 16:29:43 UTC 2011
On Fri, 2011-09-30 at 15:51 +0000, McClintock Matthew-B29882 wrote:
> On Fri, Sep 30, 2011 at 6:38 AM, Richard Purdie
> <richard.purdie at linuxfoundation.org> wrote:
> > That isn't quite what I meant, that also overwrites anything existing in
> > CXFLAGS just in a different way. Also, I suspect you mean CXXFLAGS?
> >
> > I'd meant something like:
> >
> > CXXFLAGS_append_powerpc64 = " -Wno-error=format"
>
> In the mdadm Makefile it gives the following instructions:
>
> # define "CXFLAGS" to give extra flags to CC.
> # e.g. make CXFLAGS=-O to optimise
>
> So I was following that...
Ok, normally we'd use CFLAGS for this but people love to be different
when writing makefiles :)
In that case your patch is fine...
Cheers,
Richard
More information about the Openembedded-core
mailing list