From 5b8a1127fedb80a282f2587f6b0ccae2b591ff36 Mon Sep 17 00:00:00 2001 From: Ben Noordhuis Date: Thu, 28 Jun 2012 19:01:34 +0200 Subject: [PATCH] darwin: compile at -O0 in debug builds --- common.gypi | 3 +++ 1 file changed, 3 insertions(+) diff --git a/common.gypi b/common.gypi index c2df528f..79306a75 100644 --- a/common.gypi +++ b/common.gypi @@ -32,6 +32,9 @@ 'LinkIncremental': 2, # enable incremental linking }, }, + 'xcode_settings': { + 'GCC_OPTIMIZATION_LEVEL': '0', + }, 'conditions': [ ['OS != "win"', { 'defines': [ 'EV_VERIFY=2' ],