From: Arne Coucheron Date: Tue, 12 Jan 2021 04:45:19 +0000 (+0100) Subject: universal7580: Silence clang warnings during kernel compile X-Git-Url: https://git.stricted.de/?p=GitHub%2FLineageOS%2Fandroid_device_samsung_universal7580-common.git;a=commitdiff_plain;h=f4d7de669f2a3856316873283b7d9f63aca4933e universal7580: Silence clang warnings during kernel compile clang-11: warning: argument unused during compilation: '-fuse-ld=lld' [-Wunused-command-line-argument] Change-Id: I66a629f3573e3fad8aa085ea115475f02d60a7ea --- 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