diff options
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -782,6 +782,9 @@ KBUILD_CFLAGS += $(call cc-option,-Werror=strict-prototypes) | |||
782 | # Prohibit date/time macros, which would make the build non-deterministic | 782 | # Prohibit date/time macros, which would make the build non-deterministic |
783 | KBUILD_CFLAGS += $(call cc-option,-Werror=date-time) | 783 | KBUILD_CFLAGS += $(call cc-option,-Werror=date-time) |
784 | 784 | ||
785 | # enforce correct pointer usage | ||
786 | KBUILD_CFLAGS += $(call cc-option,-Werror=incompatible-pointer-types) | ||
787 | |||
785 | # use the deterministic mode of AR if available | 788 | # use the deterministic mode of AR if available |
786 | KBUILD_ARFLAGS := $(call ar-option,D) | 789 | KBUILD_ARFLAGS := $(call ar-option,D) |
787 | 790 | ||