linux/kernel/common-config.nix: mark FORTIFY_SOURCE as optional
You cannot use it on clang-built kernels due to some LLVM bugs, namely: * https://bugs.llvm.org/show_bug.cgi?id=50322 * https://bugs.llvm.org/show_bug.cgi?id=41459 so Kconfig forces it off, causing generate-config.pl to explode since it is not marked optional.
This commit is contained in:
parent
8bb7bec755
commit
4c13b31801
@ -452,7 +452,7 @@ let
|
||||
};
|
||||
|
||||
security = {
|
||||
FORTIFY_SOURCE = whenAtLeast "4.13" yes;
|
||||
FORTIFY_SOURCE = whenAtLeast "4.13" (option yes);
|
||||
|
||||
# https://googleprojectzero.blogspot.com/2019/11/bad-binder-android-in-wild-exploit.html
|
||||
DEBUG_LIST = yes;
|
||||
|
Loading…
Reference in New Issue
Block a user