diff options
author | Kees Cook <keescook@chromium.org> | 2016-07-26 14:26:20 -0700 |
---|---|---|
committer | Michal Marek <mmarek@suse.com> | 2016-07-26 23:50:59 +0200 |
commit | 228d96c603cf53e32f672c0e459d2adbc5a4609a (patch) | |
tree | e6d936927424b32c693ad20f61f1990094765008 /arch/Kconfig | |
parent | 21532b9e5bd597631cfe38d9eb34df069938065b (diff) | |
download | op-kernel-dev-228d96c603cf53e32f672c0e459d2adbc5a4609a.zip op-kernel-dev-228d96c603cf53e32f672c0e459d2adbc5a4609a.tar.gz |
kbuild: Abort build on bad stack protector flag
Before, the stack protector flag was sanity checked before .config had
been reprocessed. This meant the build couldn't be aborted early, and
only a warning could be emitted followed later by the compiler blowing
up with an unknown flag. This has caused a lot of confusion over time,
so this splits the flag selection from sanity checking and performs the
sanity checking after the make has been restarted from a reprocessed
.config, so builds can be aborted as early as possible now.
Additionally moves the x86-specific sanity check to the same location,
since it suffered from the same warn-then-wait-for-compiler-failure
problem.
Signed-off-by: Kees Cook <keescook@chromium.org>
Signed-off-by: Michal Marek <mmarek@suse.com>
Diffstat (limited to 'arch/Kconfig')
0 files changed, 0 insertions, 0 deletions