diff options
author | Sami Tolvanen <samitolvanen@google.com> | 2019-11-27 12:57:39 -0800 |
---|---|---|
committer | Sami Tolvanen <samitolvanen@google.com> | 2019-11-27 13:12:36 -0800 |
commit | 96dc079c19aea0f5d74ff050f6d84b4c5d5541fa (patch) | |
tree | 92b8f73dc17ed8c09dfdcfa9a4ed6045ddbc3c5e | |
parent | 2d939f16c34039a6b411fb656ffc49434c195ccf (diff) |
ANDROID: kbuild: suppress llvm-ar errorsASB-2019-12-05_mainline
These errors are harmless, suppress the output.
Fixes: 310afefe71d4 ("ANDROID: kbuild: add support for Clang LTO")
Change-Id: Ia78f2edb6aa3a93ffbca37d193f065a51f748679
Signed-off-by: Sami Tolvanen <samitolvanen@google.com>
-rwxr-xr-x | scripts/link-vmlinux.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/link-vmlinux.sh b/scripts/link-vmlinux.sh index b427d58af739..a99698fadc6c 100755 --- a/scripts/link-vmlinux.sh +++ b/scripts/link-vmlinux.sh @@ -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 |