Enabled LTO optimization in release in Xcode project

This commit is contained in:
Sean McBride
2014-03-21 14:01:23 -04:00
committed by Nathan Hjelm
parent 7e076fe9f5
commit 8619aed909
2 changed files with 2 additions and 1 deletions

View File

@@ -24,6 +24,7 @@ DEBUG_INFORMATION_FORMAT = dwarf-with-dsym
// Optimizations in release.
GCC_OPTIMIZATION_LEVEL = s
LLVM_LTO = YES
// Define NDEBUG so asserts go away in release.
GCC_PREPROCESSOR_DEFINITIONS = $(inherited) NDEBUG=1