summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohannes Berg <johannes.berg@intel.com>2017-10-12 11:27:55 +0200
committerJohannes Berg <johannes.berg@intel.com>2017-10-12 11:27:55 +0200
commitba9e884d9eb224d46fad32fa5fbcceeb7cb2befc (patch)
tree5a3d35bf9859ef85a04e9253ea5339cb2badb443
parent9ca839f7790e562b988ffcbb27f0cc5b58ad0b71 (diff)
backports: add -Wno-pointer-sign on <= 4.3
This gives annoyingly many warnings on such kernels. Signed-off-by: Johannes Berg <johannes.berg@intel.com>
-rw-r--r--backport/Makefile.kernel3
1 files changed, 3 insertions, 0 deletions
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/