diff options
Diffstat (limited to 'build/common.gypi')
-rw-r--r-- | build/common.gypi | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/build/common.gypi b/build/common.gypi index 5ff11c5..db85641 100644 --- a/build/common.gypi +++ b/build/common.gypi @@ -169,6 +169,22 @@ 'HOME', 'LINK', ], + 'configurations': { + 'Debug': { + 'defines': [ + '_DEBUG', + ], + 'cflags': [ + '-O0', + '-g', + ], + }, + 'Release': { + 'cflags': [ + '-O2', + ], + }, + }, }, }], ['OS=="mac"', { |