aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArne Coucheron <arco68@gmail.com>2021-01-12 05:45:19 +0100
committerJeferson Oliveira <jroliveira.oliveira301@gmail.com>2021-04-07 20:57:19 +0200
commit82a34fd7e77266895d4480b7eb74f90431660d3c (patch)
tree6a0dd672634e7f0f007b92152ff74d2553883e72
parent07fabde62973cb06356fdd1ac6ac832b9d19cf07 (diff)
victara: 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--BoardConfig.mk3
1 files changed, 3 insertions, 0 deletions
diff --git a/BoardConfig.mk b/BoardConfig.mk
index 4fc4c16..cee4982 100644
--- a/BoardConfig.mk
+++ b/BoardConfig.mk
@@ -110,6 +110,9 @@ BOARD_RAMDISK_USE_XZ := true
TARGET_KERNEL_CONFIG := lineageos_victara_defconfig
TARGET_KERNEL_SOURCE := kernel/motorola/msm8974
+TARGET_KERNEL_ADDITIONAL_FLAGS := \
+ HOSTCFLAGS="-fuse-ld=lld -Wno-unused-command-line-argument"
+
# Legacy memfd
TARGET_HAS_MEMFD_BACKPORT := true