Re: [PATCH] misc: cxl: fix build for GCC 4.6.x
From: Michael Ellerman
Date: Thu Jan 07 2016 - 21:12:21 EST
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