miatoll: Silence clang warnings during kernel compile

clang-11: warning: argument unused during compilation:
'-fuse-ld=lld' [-Wunused-command-line-argument]
This commit is contained in:
arco 2021-01-20 02:16:47 +07:00 committed by Aryan Gupta
parent 55146455d0
commit 3b950542ab

View File

@ -92,6 +92,8 @@ TARGET_KERNEL_CONFIG := cust_defconfig
TARGET_KERNEL_SOURCE := kernel/xiaomi/sm6250
TARGET_KERNEL_CLANG_COMPILE := true
TARGET_KERNEL_CLANG_VERSION := r383902b
TARGET_KERNEL_ADDITIONAL_FLAGS := \
HOSTCFLAGS="-fuse-ld=lld -Wno-unused-command-line-argument"
BOARD_KERNEL_CMDLINE += androidboot.console=ttyMSM0
BOARD_KERNEL_CMDLINE += androidboot.hardware=qcom