diff --git a/Makefile b/Makefile index 37cc4c3fa4cbb43e0e6a8a3ec44e9f294789671a..0dc6c53fcfc8fe3d70b9a5a55a5aea04e4873abc 100644 --- a/Makefile +++ b/Makefile @@ -565,6 +565,7 @@ KBUILD_CFLAGS += -DBUILD_TAG='"$(BUILD_TAG)"' endif KBUILD_CFLAGS += $(call cc-option,-fno-stack-protector) +KBUILD_CFLAGS += $(call cc-option,-fno-delete-null-pointer-checks) KBUILD_CFLAGS += -g # $(KBUILD_AFLAGS) sets -g, which causes gcc to pass a suitable -g<format>