From f4d7de669f2a3856316873283b7d9f63aca4933e Mon Sep 17 00:00:00 2001 From: Arne Coucheron Date: Tue, 12 Jan 2021 05:45:19 +0100 Subject: [PATCH] universal7580: Silence clang warnings during kernel compile clang-11: warning: argument unused during compilation: '-fuse-ld=lld' [-Wunused-command-line-argument] Change-Id: I66a629f3573e3fad8aa085ea115475f02d60a7ea --- BoardConfigCommon.mk | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/BoardConfigCommon.mk b/BoardConfigCommon.mk index 2d6d118..3ad9110 100644 --- a/BoardConfigCommon.mk +++ b/BoardConfigCommon.mk @@ -44,6 +44,10 @@ TARGET_CPU_ABI := armeabi-v7a TARGET_CPU_ABI2 := armeabi TARGET_CPU_VARIANT := cortex-a53 +# Kernel +TARGET_KERNEL_ADDITIONAL_FLAGS := \ + HOSTCFLAGS="-fuse-ld=lld -Wno-unused-command-line-argument" + # Audio USE_XML_AUDIO_POLICY_CONF := 1 -- 2.20.1