From 5e720a3d3831b29c0fd64087e161c621e5103e22 Mon Sep 17 00:00:00 2001 From: Aaditya Chandrasekhar Date: Thu, 17 Mar 2016 16:11:12 -0700 Subject: [PATCH] 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. --- xcconfigs/common_debug.xcconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/xcconfigs/common_debug.xcconfig b/xcconfigs/common_debug.xcconfig index 617be63..4257e04 100644 --- a/xcconfigs/common_debug.xcconfig +++ b/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)