aboutsummaryrefslogtreecommitdiffstats
path: root/testing/sch-cake-grsec/10-Makefile.patch
blob: 5229a1e0e4c2ee82a65a1c394d9cd80a1e176270 (plain)
1
2
3
4
5
6
7
8
9
10
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)