aports/main/linux-vanilla/gcc-default-pie.patch
2016-11-24 21:01:35 +00:00

12 lines
367 B
Diff

--- 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 \