diff options
author | Sebastian Andrzej Siewior <bigeasy@linutronix.de> | 2016-10-21 12:21:07 +0200 |
---|---|---|
committer | Steven Rostedt <rostedt@goodmis.org> | 2017-06-07 19:03:31 -0400 |
commit | 837a0a94eb9ca5b40d281b91cf774272fa8bcbfe (patch) | |
tree | 2b638259ea497d5d850e732f9b0997438122eae0 | |
parent | 5de7ce82f1a59ea195c30f0ea7392c7b9d94279c (diff) | |
download | linux-rt-837a0a94eb9ca5b40d281b91cf774272fa8bcbfe.tar.gz |
kbuild: add -fno-PIE
Debian started to build the gcc with -fPIE by default so the kernel
build ends before it starts properly with:
|kernel/bounds.c:1:0: error: code model kernel does not support PIC mode
Signed-off-by: Sebastian Andrzej Siewior <bigeasy@linutronix.de>
Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
-rw-r--r-- | Makefile | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -376,7 +376,7 @@ KBUILD_CPPFLAGS := -D__KERNEL__ KBUILD_CFLAGS := -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs \ -fno-strict-aliasing -fno-common \ -Werror-implicit-function-declaration \ - -Wno-format-security \ + -Wno-format-security -fno-PIE \ -fno-delete-null-pointer-checks \ -std=gnu89 $(call cc-option,-fno-PIE) |