ANDROID: build.config: Disable LTO for KASAN and Kprobes builds
Disable both LTO_CLANG_THIN and LTO_CLANG_FULL for KASAN and Kprobes builds. Bug: 167259389 Signed-off-by: Sami Tolvanen <samitolvanen@google.com> Change-Id: I0c55b1cf9c8f7d23094230553c266cb5df7801e8
This commit is contained in:
parent
2519bc872b
commit
3500abc89b
@ -10,9 +10,8 @@ function update_kasan_config() {
|
||||
-d CONFIG_RANDOMIZE_BASE \
|
||||
-d CONFIG_KASAN_OUTLINE \
|
||||
--set-val CONFIG_FRAME_WARN 0 \
|
||||
-d LTO \
|
||||
-d LTO_CLANG \
|
||||
-d CFI \
|
||||
-d LTO_CLANG_THIN \
|
||||
-d LTO_CLANG_FULL \
|
||||
-d CFI_PERMISSIVE \
|
||||
-d CFI_CLANG \
|
||||
-d SHADOW_CALL_STACK
|
||||
|
@ -2,9 +2,8 @@ DEFCONFIG=gki_defconfig
|
||||
POST_DEFCONFIG_CMDS="check_defconfig && update_kprobes_config"
|
||||
function update_kprobes_config() {
|
||||
${KERNEL_DIR}/scripts/config --file ${OUT_DIR}/.config \
|
||||
-d LTO \
|
||||
-d LTO_CLANG_THIN \
|
||||
-d CFI \
|
||||
-d LTO_CLANG_FULL \
|
||||
-d CFI_PERMISSIVE \
|
||||
-d CFI_CLANG \
|
||||
-e CONFIG_DYNAMIC_FTRACE \
|
||||
|
Loading…
Reference in New Issue
Block a user