diff options
Diffstat (limited to 'main/linux-grsec/makefile-constify.patch')
-rw-r--r-- | main/linux-grsec/makefile-constify.patch | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/main/linux-grsec/makefile-constify.patch b/main/linux-grsec/makefile-constify.patch new file mode 100644 index 0000000000..679bd1ab2d --- /dev/null +++ b/main/linux-grsec/makefile-constify.patch @@ -0,0 +1,10 @@ +--- ./Makefile.orig ++++ ./Makefile +@@ -1383,6 +1383,7 @@ + $(module-dirs): crmodverdir $(objtree)/Module.symvers + $(Q)$(MAKE) $(build)=$(patsubst _module_%,%,$@) + ++modules: KBUILD_CFLAGS += $(CONSTIFY_PLUGIN) $(STACKLEAK_PLUGIN) + modules: $(module-dirs) + @$(kecho) ' Building modules, stage 2.'; + $(Q)$(MAKE) -f $(srctree)/scripts/Makefile.modpost |