Commit 27122b88 authored by Natanael Copa's avatar Natanael Copa

main/linux-grsec: fix constify in makefile

parent efcd7ef9
......@@ -4,7 +4,7 @@ _flavor=grsec
pkgname=linux-${_flavor}
pkgver=3.0.3
_kernver=3.0
pkgrel=1
pkgrel=2
pkgdesc="Linux kernel with grsecurity"
url=http://grsecurity.net
depends="mkinitfs linux-firmware"
......@@ -17,6 +17,7 @@ source="ftp://ftp.kernel.org/pub/linux/kernel/v3.0/linux-$_kernver.tar.bz2
grsecurity-2.2.2-3.0.3-201108251825.patch
0004-arp-flush-arp-cache-on-device-change.patch
makefile-constify.patch
kernelconfig.x86
kernelconfig.x86_64
......@@ -140,5 +141,6 @@ md5sums="398e95866794def22b12dfbc15ce89c0 linux-3.0.tar.bz2
1757786b9a9ffbd48ad9642199ff5bd7 patch-3.0.3.bz2
dbf71c02960bdb9e047ed6ccd61e108e grsecurity-2.2.2-3.0.3-201108251825.patch
776adeeb5272093574f8836c5037dd7d 0004-arp-flush-arp-cache-on-device-change.patch
d948f4dc51ed32f86e9e75d61680597f makefile-constify.patch
406e62e430cee7ba3bb37be341d9ff3e kernelconfig.x86
6957efc9f017c59b05aa0a2e4167255e kernelconfig.x86_64"
--- ./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
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment