Message ID | 20160107203839.GA42481@google.com (mailing list archive) |
---|---|
State | Rejected, archived |
Headers | show |
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
diff --git a/drivers/misc/cxl/Makefile b/drivers/misc/cxl/Makefile index 6982f603fadc..0163d4d1fd1e 100644 --- a/drivers/misc/cxl/Makefile +++ b/drivers/misc/cxl/Makefile @@ -1,4 +1,4 @@ -ccflags-y := -Werror -Wno-unused-const-variable +ccflags-y := $(call cc-disable-warning, unused-const-variable) cxl-y += main.o file.o irq.o fault.o native.o cxl-y += context.o sysfs.o debugfs.o pci.o trace.o