Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(774)

Unified Diff: build/common.gypi

Issue 334018: Switch optimization cflag to late-resolve the debug_optimize and release_optimize vars. (Closed)
Patch Set: Created 11 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: build/common.gypi
diff --git a/build/common.gypi b/build/common.gypi
index 101fd46bfb8f2b829400f35b34c2b6b7fc3735f2..b5e22791e3f36f3b52ad5dca4ffb251a641b23bb 100644
--- a/build/common.gypi
+++ b/build/common.gypi
@@ -579,7 +579,7 @@
'_DEBUG',
],
'cflags': [
- '-O<(debug_optimize)',
+ '-O>(debug_optimize)',
'-g',
# One can use '-gstabs' to enable building the debugging
# information in STABS format for breakpad's dumpsyms.
@@ -593,7 +593,7 @@
'release_optimize%': '2',
},
'cflags': [
- '-O<(release_optimize)',
+ '-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',
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698