From ba9e884d9eb224d46fad32fa5fbcceeb7cb2befc Mon Sep 17 00:00:00 2001 From: Johannes Berg Date: Thu, 12 Oct 2017 11:27:55 +0200 Subject: backports: add -Wno-pointer-sign on <= 4.3 This gives annoyingly many warnings on such kernels. Signed-off-by: Johannes Berg --- backport/Makefile.kernel | 3 +++ 1 file changed, 3 insertions(+) diff --git a/backport/Makefile.kernel b/backport/Makefile.kernel index 9f5dde08..6c84c2d7 100644 --- a/backport/Makefile.kernel +++ b/backport/Makefile.kernel @@ -31,6 +31,9 @@ NOSTDINC_FLAGS := \ endif subdir-ccflags-y += $(call cc-option, -fno-pie) $(call cc-option, -no-pie) +ifeq ($(CPTCFG_KERNEL_4_3),y) +subdir-ccflags-y += -Wno-pointer-sign +endif obj-y += compat/ -- cgit v1.2.3