diff options
author | Johannes Berg <johannes.berg@intel.com> | 2017-10-12 11:27:55 +0200 |
---|---|---|
committer | Johannes Berg <johannes.berg@intel.com> | 2017-10-12 11:27:55 +0200 |
commit | ba9e884d9eb224d46fad32fa5fbcceeb7cb2befc (patch) | |
tree | 5a3d35bf9859ef85a04e9253ea5339cb2badb443 /backport/Makefile.kernel | |
parent | 9ca839f7790e562b988ffcbb27f0cc5b58ad0b71 (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>
Diffstat (limited to 'backport/Makefile.kernel')
-rw-r--r-- | backport/Makefile.kernel | 3 |
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/ |