mirror of
https://github.com/torvalds/linux.git
synced 2026-06-07 14:04:54 +02:00
ANDROID: kbuild: suppress llvm-ar errors
These errors are harmless, suppress the output.
Fixes: 310afefe71 ("ANDROID: kbuild: add support for Clang LTO")
Change-Id: Ia78f2edb6aa3a93ffbca37d193f065a51f748679
Signed-off-by: Sami Tolvanen <samitolvanen@google.com>
This commit is contained in:
parent
2d939f16c3
commit
96dc079c19
|
|
@ -54,7 +54,7 @@ lto_lds()
|
|||
|
||||
if [ -n "${CONFIG_MODVERSIONS}" ]; then
|
||||
for a in ${KBUILD_VMLINUX_OBJS} ${KBUILD_VMLINUX_LIBS}; do
|
||||
for o in $(${AR} t $a); do
|
||||
for o in $(${AR} t $a 2>/dev/null); do
|
||||
if [ -f ${o}.symversions ]; then
|
||||
cat ${o}.symversions >> .tmp_lto.lds
|
||||
fi
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user