Permalink
Browse files

Disable LTO for debug xhyve builds.

LTO is enabled in the xcodeproject for xhyve. When targetting debug
builds override to NO so that local variables and function arguments
can be introspected in the debugger.
  • Loading branch information...
Aaditya Chandrasekhar
Aaditya Chandrasekhar committed Mar 17, 2016
1 parent 63a785d commit 5e720a3d3831b29c0fd64087e161c621e5103e22
Showing with 1 addition and 0 deletions.
  1. +1 −0 xcconfigs/common_debug.xcconfig
@@ -4,6 +4,7 @@ COPY_PHASE_STRIP = NO
STRIP_INSTALLED_PRODUCT = NO
GCC_OPTIMIZATION_LEVEL = 0
LLVM_LTO = NO
OTHER_CFLAGS_debug = $(OTHER_CFLAGS_common) -fno-inline
OTHER_CFLAGS = $(inherited) $(OTHER_CFLAGS_debug)

0 comments on commit 5e720a3

Please sign in to comment.