aboutsummaryrefslogtreecommitdiffstats
path: root/main/linux-grsec/makefile-constify.patch
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2011-08-26 11:30:02 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2011-08-26 11:30:02 +0000
commit27122b883948bc635037f2ffbfe78243cfa5de5e (patch)
tree224308bab6d57bffa6c86f830c7c059093f5356b /main/linux-grsec/makefile-constify.patch
parentefcd7ef99b94fa79dd054e99cba9175eaa557fb1 (diff)
downloadaports-27122b883948bc635037f2ffbfe78243cfa5de5e.tar.bz2
aports-27122b883948bc635037f2ffbfe78243cfa5de5e.tar.xz
main/linux-grsec: fix constify in makefile
Diffstat (limited to 'main/linux-grsec/makefile-constify.patch')
-rw-r--r--main/linux-grsec/makefile-constify.patch10
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