Commit 3e99b0f1 authored by Ray Donnelly's avatar Ray Donnelly Committed by Andrew Hsieh
Browse files

Add an option --enable-shrink-binary-size to configure.

This option could reduce the LLVM tools by "-fdata-sections, -ffunction-sections"
and "--gc-sections". Note that with --enable-shrink-binary-size, your LLVM tools
might not be able to load plugins (ex: LLVMPolly).

The default is off to make NDK llvm tools support plugin.

This commit mirrors two commits in the Android LLVM git repo, from release_33
branch:

1: Ray Donnelly <mingw.android@gmail.com>
6230037 Fixes for "Shrink binary sizes when cross-compiling."

2: Lai Wei-Chih <Robert.Lai@mediatek.com>
0190585 Add an option --enable-shrink-binary-size to configure.
parent dc9c8f22
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment