Using -flto and Clang still doesn't work, though, build stops already in fontconfig. The linker claims the expat library doesn't have an archive symbol table. Go figure, oh well, won't bother trying any more for now.
253ffdf Pass -flto as part of CC and CXX when building external libs for Android
configure.ac | 6 ++++++
1 file changed, 6 insertions(+)
Upstream: cgit.freedesktop.org