aboutsummaryrefslogtreecommitdiffstats
path: root/main/linux-vanilla/gcc-default-pie.patch
blob: 7e45da65b2d8d1c751e55d2302b76776e8136853 (plain)
1
2
3
4
5
6
7
8
9
10
11
--- linux-4.4/Makefile.orig	2016-11-24 14:37:19.135375272 +0200
+++ linux-4.4/Makefile	2016-11-24 22:14:22.692932731 +0200
@@ -391,7 +391,7 @@
 		-Iinclude \
 		$(USERINCLUDE)
 
-KBUILD_CPPFLAGS := -D__KERNEL__
+KBUILD_CPPFLAGS := -D__KERNEL__ -fno-pie
 
 KBUILD_CFLAGS   := -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs \
 		   -fno-strict-aliasing -fno-common \