diff options
author | Ben Allen <bensallen@me.com> | 2016-07-10 17:23:44 +0000 |
---|---|---|
committer | Bartłomiej Piotrowski <b@bpiotrowski.pl> | 2016-07-11 17:11:02 +0200 |
commit | f9da9c8fa0bacdf285e497aae2dedce5c7836465 (patch) | |
tree | 1cff7a7fb19dd1da30b0e8d2591f484e9c2ac5e9 /testing/sch-cake-grsec/10-Makefile.patch | |
parent | faac41e938404b68cfe48405cfb2a715228047ac (diff) | |
download | aports-f9da9c8fa0bacdf285e497aae2dedce5c7836465.tar.bz2 aports-f9da9c8fa0bacdf285e497aae2dedce5c7836465.tar.xz |
testing/sch-cake-grsec: Upgrade to 747954d
- Patch Makefile to accept CFLAGS and LDFLAGS from the APKBUILD
- Evidently kernel modules need -fno-pie now?
Diffstat (limited to 'testing/sch-cake-grsec/10-Makefile.patch')
-rw-r--r-- | testing/sch-cake-grsec/10-Makefile.patch | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/testing/sch-cake-grsec/10-Makefile.patch b/testing/sch-cake-grsec/10-Makefile.patch new file mode 100644 index 0000000000..5229a1e0e4 --- /dev/null +++ b/testing/sch-cake-grsec/10-Makefile.patch @@ -0,0 +1,11 @@ +--- sch_cake-747954dd0bde66bb28d2b6c2c109597c9abbe5c5/Makefile.orig ++++ sch_cake-747954dd0bde66bb28d2b6c2c109597c9abbe5c5/Makefile +@@ -5,7 +5,7 @@ + PWD := $(shell pwd) + VERSION := $(shell git rev-parse HEAD 2>/dev/null) + default: +- $(MAKE) -C $(KDIR) SUBDIRS=$(PWD) modules $(if $(VERSION),LDFLAGS_MODULE="--build-id=0x$(VERSION)" CFLAGS_MODULE="-DCAKE_VERSION=\\\"$(VERSION)\\\"") ++ $(MAKE) -C $(KDIR) SUBDIRS=$(PWD) modules $(if $(VERSION),LDFLAGS_MODULE="$(LDFLAGS_MODULE) --build-id=0x$(VERSION)" CFLAGS_MODULE="$(CFLAGS_MODULE) -DCAKE_VERSION=\\\"$(VERSION)\\\"") + + install: + install -v -m 644 sch_cake.ko $(IDIR) |