xhyve/xcconfigs/common_debug.xcconfig
Aaditya Chandrasekhar 5e720a3d38 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.
2016-03-17 16:11:12 -07:00

17 lines
507 B
Text

#include "common.xcconfig"
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)
OTHER_LDFLAGS_debug = $(OTHER_LDFLAGS_common)
OTHER_LDFLAGS = $(inherited) $(OTHER_LDFLAGS_debug)
GCC_PREPROCESSOR_DEFINITIONS_asan = $(GCC_PREPROCESSOR_DEFINITIONS_common) XHYVE_CONFIG_ASSERT
GCC_PREPROCESSOR_DEFINITIONS = $(inherited) $(GCC_PREPROCESSOR_DEFINITIONS_common)