mirror of
https://github.com/torvalds/linux.git
synced 2026-06-07 14:04:54 +02:00
ANDROID: x86/purgatory: disable CFI
Disable CFI for the stand-alone purgatory.ro. Bug: 145210207 Change-Id: I957fd1d000ed27ca9fe9adb6c0ec2b6e0f6d73ce Signed-off-by: Sami Tolvanen <samitolvanen@google.com>
This commit is contained in:
parent
a7584d2cd0
commit
80861c43db
|
|
@ -31,7 +31,7 @@ KCOV_INSTRUMENT := n
|
|||
# These are adjustments to the compiler flags used for objects that
|
||||
# make up the standalone purgatory.ro
|
||||
|
||||
PURGATORY_CFLAGS_REMOVE := -mcmodel=kernel
|
||||
PURGATORY_CFLAGS_REMOVE := -mcmodel=kernel $(CC_FLAGS_CFI)
|
||||
PURGATORY_CFLAGS := -mcmodel=large -ffreestanding -fno-zero-initialized-in-bss -g0
|
||||
PURGATORY_CFLAGS += $(DISABLE_STACKLEAK_PLUGIN) -DDISABLE_BRANCH_PROFILING
|
||||
PURGATORY_CFLAGS += -fno-stack-protector
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user