ANDROID: arm64: vdso: disable LTO
authorSami Tolvanen <samitolvanen@google.com>
Tue, 19 Dec 2017 16:55:23 +0000 (08:55 -0800)
committerSami Tolvanen <samitolvanen@google.com>
Thu, 26 Apr 2018 23:03:36 +0000 (16:03 -0700)
commit84cf1990330703c1d560ec63cba820e508707519
treea99cb8db126e368e0383c9cfa03407a71102a337
parentbad1692b1ae8c148c71671e12b910543496e471f
ANDROID: arm64: vdso: disable LTO

Due to a bug in clang, vdso fails to build when both LTO_CLANG and
CC_OPTIMIZE_FOR_SIZE are enabled:

  https://bugs.llvm.org/show_bug.cgi?id=32155

Disable LTO for vdso to work around the problem.

Bug: 62093296
Bug: 67506682
Change-Id: I1d0279535fd389db4c829e4556f9ef728f240a34
Signed-off-by: Sami Tolvanen <samitolvanen@google.com>
arch/arm64/kernel/vdso/Makefile