Index: build/common.gypi |
=================================================================== |
--- build/common.gypi (revision 21087) |
+++ build/common.gypi (working copy) |
@@ -326,8 +326,11 @@ |
], |
}, |
'Release': { |
+ 'variables': { |
+ 'release_optimize%': '2', |
+ }, |
'cflags': [ |
- '-O2', |
+ '-O<(release_optimize)', |
# Don't emit the GCC version ident directives, they just end up |
# in the .comment section taking up binary size. |
'-fno-ident', |