summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArne Coucheron <arco68@gmail.com>2021-01-12 05:45:19 +0100
committerJulian Veit <claymore1298@gmail.com>2022-09-05 17:01:43 +0200
commitc55a7f9a5390c2462b3169a822c3065a5e294389 (patch)
tree43b303f0f84df5d191f7faae8ca38e1416779752
parent221cc003a9f95e9c278fffddbd670a11297b4e06 (diff)
msm8974-common: Silence clang warnings during kernel compile
clang-11: warning: argument unused during compilation: '-fuse-ld=lld' [-Wunused-command-line-argument] Change-Id: I66a629f3573e3fad8aa085ea115475f02d60a7ea
-rw-r--r--BoardConfigCommon.mk2
1 files changed, 2 insertions, 0 deletions
diff --git a/BoardConfigCommon.mk b/BoardConfigCommon.mk
index b07cb02..0cf64ea 100644
--- a/BoardConfigCommon.mk
+++ b/BoardConfigCommon.mk
@@ -60,6 +60,8 @@ BOARD_KERNEL_PAGESIZE := 2048
BOARD_KERNEL_SEPARATED_DT := true
BOARD_MKBOOTIMG_ARGS := --kernel_offset 0x00008000 --ramdisk_offset 0x02008000 --tags_offset 0x01e00000
BOARD_RAMDISK_USE_XZ := true
+TARGET_KERNEL_ADDITIONAL_FLAGS := \
+ HOSTCFLAGS="-fuse-ld=lld -Wno-unused-command-line-argument"
TARGET_KERNEL_SOURCE := kernel/htc/msm8974
TARGET_KERNEL_CLANG_COMPILE := false