summarylogtreecommitdiffstats
path: root/0001-fix-for-gcc731.patch
diff options
context:
space:
mode:
authorGeorge Amanakis2018-03-28 20:17:59 -0400
committerGeorge Amanakis2018-03-28 20:17:59 -0400
commit4dcaffe8196172d46b6fc51e1413bc8df5d0a11b (patch)
treedae95fb075792b3560338d33962404899c897da5 /0001-fix-for-gcc731.patch
parentc37782067c54b0afff128b7575c4684f7ca7cfa3 (diff)
downloadaur-4dcaffe8196172d46b6fc51e1413bc8df5d0a11b.tar.gz
fixes for gcc731
Diffstat (limited to '0001-fix-for-gcc731.patch')
-rw-r--r--0001-fix-for-gcc731.patch12
1 files changed, 12 insertions, 0 deletions
diff --git a/0001-fix-for-gcc731.patch b/0001-fix-for-gcc731.patch
new file mode 100644
index 000000000000..4f83eb5b9709
--- /dev/null
+++ b/0001-fix-for-gcc731.patch
@@ -0,0 +1,12 @@
+diff --git a/Makefile b/Makefile
+index 2c473e3..428ffbf 100644
+--- a/Makefile
++++ b/Makefile
+@@ -2,6 +2,7 @@ obj-m := sch_cake.o
+ KERNEL_VERSION := $(shell uname -r)
+ IDIR := /lib/modules/$(KERNEL_VERSION)/kernel/net/sched/
+ KDIR := /lib/modules/$(KERNEL_VERSION)/build
++ccflags-y=-I/usr/lib/gcc/x86_64-pc-linux-gnu/7.3.1/include
+ PWD := $(shell pwd)
+ VERSION := $(shell git rev-parse HEAD 2>/dev/null)
+ default: