add -flto=thin for xcode

This commit is contained in:
shuxin   zheng 2019-11-19 11:38:04 +08:00
parent 262c025505
commit 03c4c9de7c
3 changed files with 10 additions and 16 deletions

View File

@ -1860,14 +1860,13 @@
"-fvisibility-inlines-hidden", "-fvisibility-inlines-hidden",
"-Os", "-Os",
"-fembed-bitcode", "-fembed-bitcode",
"-flto",
"-fno-fat-lto-objects",
"-fdata-sections", "-fdata-sections",
"-ffunction-sections\n-fvisibility=hidden", "-ffunction-sections",
"-fvisibility=hidden",
"-fvisibility-inlines-hidden", "-fvisibility-inlines-hidden",
"-fdata-sections", "-fdata-sections",
"-ffunction-sections", "-ffunction-sections",
"-flto", "-flto=thin",
"-Os", "-Os",
); );
SDKROOT = iphoneos; SDKROOT = iphoneos;
@ -1935,14 +1934,13 @@
"-fvisibility-inlines-hidden", "-fvisibility-inlines-hidden",
"-Os", "-Os",
"-fembed-bitcode", "-fembed-bitcode",
"-flto",
"-fno-fat-lto-objects",
"-fdata-sections", "-fdata-sections",
"-ffunction-sections\n-fvisibility=hidden", "-ffunction-sections",
"-fvisibility=hidden",
"-fvisibility-inlines-hidden", "-fvisibility-inlines-hidden",
"-fdata-sections", "-fdata-sections",
"-ffunction-sections", "-ffunction-sections",
"-flto", "-flto=thin",
"-Os", "-Os",
); );
SDKROOT = iphoneos; SDKROOT = iphoneos;

View File

@ -1853,8 +1853,7 @@
"-fvisibility-inlines-hidden", "-fvisibility-inlines-hidden",
"-Os", "-Os",
"-fembed-bitcode", "-fembed-bitcode",
"-flto", "-flto=thin",
"-fno-fat-lto-objects",
"-fdata-sections", "-fdata-sections",
"-ffunction-sections", "-ffunction-sections",
); );
@ -1929,8 +1928,7 @@
"-fvisibility-inlines-hidden", "-fvisibility-inlines-hidden",
"-Os", "-Os",
"-fembed-bitcode", "-fembed-bitcode",
"-flto", "-flto=thin",
"-fno-fat-lto-objects",
"-fdata-sections", "-fdata-sections",
"-ffunction-sections", "-ffunction-sections",
); );

View File

@ -374,8 +374,7 @@
"-fvisibility-inlines-hidden", "-fvisibility-inlines-hidden",
"-Os", "-Os",
"-fembed-bitcode", "-fembed-bitcode",
"-flto", "-flto=thin",
"-fno-fat-lto-objects",
"-fdata-sections", "-fdata-sections",
"-ffunction-sections", "-ffunction-sections",
); );
@ -441,8 +440,7 @@
"-fvisibility-inlines-hidden", "-fvisibility-inlines-hidden",
"-Os", "-Os",
"-fembed-bitcode", "-fembed-bitcode",
"-flto", "-flto=thin",
"-fno-fat-lto-objects",
"-fdata-sections", "-fdata-sections",
"-ffunction-sections", "-ffunction-sections",
); );