summaryrefslogtreecommitdiff
path: root/platform/ios/ios.xcodeproj
diff options
context:
space:
mode:
authorJohn Firebaugh <john.firebaugh@gmail.com>2018-07-31 15:35:17 -0700
committerGitHub <noreply@github.com>2018-07-31 15:35:17 -0700
commit9e3a4a2646533b5044b866a0c1932a1079a9c919 (patch)
tree179d28690eeab7aca98683eeb1c38f16ffa13d24 /platform/ios/ios.xcodeproj
parent9bdd765a02de75851a00ab85223d5d582a104757 (diff)
downloadqtlocation-mapboxgl-9e3a4a2646533b5044b866a0c1932a1079a9c919.tar.gz
[ios, macos] Enable link-time optimization for iOS release builds (#12502)
Diffstat (limited to 'platform/ios/ios.xcodeproj')
-rw-r--r--platform/ios/ios.xcodeproj/project.pbxproj2
1 files changed, 2 insertions, 0 deletions
diff --git a/platform/ios/ios.xcodeproj/project.pbxproj b/platform/ios/ios.xcodeproj/project.pbxproj
index 6b883a3def..b77c67fbb3 100644
--- a/platform/ios/ios.xcodeproj/project.pbxproj
+++ b/platform/ios/ios.xcodeproj/project.pbxproj
@@ -3793,6 +3793,7 @@
INFOPLIST_FILE = framework/Info.plist;
INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks";
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks";
+ LLVM_LTO = YES;
OTHER_CFLAGS = "-fvisibility=hidden";
OTHER_CPLUSPLUSFLAGS = (
"$(OTHER_CFLAGS)",
@@ -3878,6 +3879,7 @@
"$(mbgl_core_INCLUDE_DIRECTORIES)",
"$(mbgl_filesource_LINK_LIBRARIES)",
);
+ LLVM_LTO = YES;
OTHER_CFLAGS = "-fvisibility=hidden";
OTHER_CPLUSPLUSFLAGS = (
"$(OTHER_CFLAGS)",