From 4cbe665f7da13de5a7ea59c7a6736bbd10cb199b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Konstantin=20K=C3=A4fer?= Date: Thu, 22 Jan 2015 12:24:10 +0100 Subject: add symbols to Release builds for easier debugging --- gyp/common.gypi | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'gyp') diff --git a/gyp/common.gypi b/gyp/common.gypi index 92cfb2ab18..a569669c4e 100644 --- a/gyp/common.gypi +++ b/gyp/common.gypi @@ -59,11 +59,11 @@ } }, 'Release': { - 'cflags_cc': [ '-O3' ], + 'cflags_cc': [ '-g', '-O3' ], 'defines': [ 'NDEBUG' ], 'xcode_settings': { 'GCC_OPTIMIZATION_LEVEL': '3', - 'GCC_GENERATE_DEBUGGING_SYMBOLS': 'NO', + 'GCC_GENERATE_DEBUGGING_SYMBOLS': 'YES', 'DEAD_CODE_STRIPPING': 'YES', 'GCC_INLINES_ARE_PRIVATE_EXTERN': 'NO' } -- cgit v1.2.1