diff --git a/BoardConfigCommon.mk b/BoardConfigCommon.mk index 44791f7..f59af5f 100644 --- a/BoardConfigCommon.mk +++ b/BoardConfigCommon.mk @@ -86,6 +86,9 @@ BOARD_KERNEL_PAGESIZE := 4096 BOARD_KERNEL_SEPARATED_DTBO := true TARGET_KERNEL_SOURCE := kernel/xiaomi/sm6150 +TARGET_KERNEL_ADDITIONAL_FLAGS := \ + LLVM=1 \ + LLVM_IAS=1 BOARD_KERNEL_CMDLINE := console=ttyMSM0,115200n8 earlycon=msm_geni_serial,0x880000 BOARD_KERNEL_CMDLINE += androidboot.hardware=qcom androidboot.console=ttyMSM0