build: Enable Global ThinLTO and ThinLTO cache

Signed-off-by: Pranav Vashi <neobuddy89@gmail.com>
This commit is contained in:
Pranav Vashi 2021-05-16 13:22:08 +05:30
parent 05dd58f968
commit 7e75c04ccd

View File

@ -942,3 +942,8 @@ function fixup_common_out_dir() {
mkdir -p ${common_out_dir}
fi
}
# Enable ThinLTO Source wide.
echo "Building with ThinLTO."
export GLOBAL_THINLTO=true
export USE_THINLTO_CACHE=true