projects
/
GitHub
/
LineageOS
/
android_device_samsung_universal7580-common.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
64401cd
)
universal7580: Silence clang warnings during kernel compile
author
Arne Coucheron
<arco68@gmail.com>
Tue, 12 Jan 2021 04:45:19 +0000
(
05:45
+0100)
committer
Danny Wood
<danwood76@gmail.com>
Tue, 6 Apr 2021 08:10:52 +0000
(10:10 +0200)
clang-11: warning: argument unused during compilation:
'-fuse-ld=lld' [-Wunused-command-line-argument]
Change-Id: I66a629f3573e3fad8aa085ea115475f02d60a7ea
BoardConfigCommon.mk
patch
|
blob
|
blame
|
history
diff --git
a/BoardConfigCommon.mk
b/BoardConfigCommon.mk
index 2d6d118c22ce8e1a111977ef53e32b30783d8e35..3ad9110b266d34ec80b340a1353c7df18deb1a8c 100644
(file)
--- 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