Skip to content

Commit 101ad2c

Browse files
Enable LTO and other optimisations for Mac release builds
1 parent 1be425d commit 101ad2c

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

config/mac.gypi

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -186,6 +186,9 @@
186186
'ARCHS': 'i386',
187187
'GCC_OPTIMIZATION_LEVEL': '3',
188188
'GCC_ENABLE_FIX_AND_CONTINUE': 'NO',
189+
'LLVM_LTO': 'YES',
190+
'DEAD_CODE_STRIPPING': 'YES',
191+
'GCC_UNROLL_LOOPS': 'YES',
189192
},
190193
},
191194

0 commit comments

Comments
 (0)