[PATCH] misc: cxl: fix build for GCC 4.6.x

Michael Ellerman mpe at ellerman.id.au
Fri Jan 8 13:12:15 AEDT 2016


On Thu, 2016-01-07 at 12:38 -0800, Brian Norris wrote:

> GCC 4.6.3 does not support -Wno-unused-const-variable. Instead, use the
> kbuild infrastructure that checks if this options exists.

Thanks.

> Also drop -Werror, since it's harmful, if forced on the user. New GCC's,
> or higher warning verbosities (e.g., W=1) can easily kill the build
> where they shouldn't.

But no thanks.

Please resend with just the cc-disable-warning change.

cheers



More information about the Linuxppc-dev mailing list