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

Unified Diff: SConstruct

Issue 4012: Add compilation flags for optimizing samples built in release... (Closed) Base URL: http://v8.googlecode.com/svn/branches/bleeding_edge/
Patch Set: Created 12 years, 3 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: SConstruct
===================================================================
--- SConstruct (revision 350)
+++ SConstruct (working copy)
@@ -77,7 +77,7 @@
'LINKFLAGS': ['/DEBUG']
},
'mode:release': {
- 'CCFLAGS': ['/Ox', '/MT', '/Ob2', '/Oi', '/Oy'],
+ 'CCFLAGS': ['/Ox', '/MT'],
'LINKFLAGS': ['/OPT:REF', '/OPT:ICF']
}
}
@@ -187,6 +187,9 @@
'CCFLAGS': ['-m32'],
'LINKFLAGS': ['-m32']
},
+ 'mode:release': {
+ 'CCFLAGS': ['-O2']
+ },
'mode:debug': {
'CCFLAGS': ['-g', '-O0']
}
@@ -199,10 +202,12 @@
'CPPDEFINES': ['USING_V8_SHARED']
},
'mode:release': {
- 'CCFLAGS': ['/MT'],
+ 'CCFLAGS': ['/Ox', '/MT'],
+ 'LINKFLAGS': ['/OPT:REF', '/OPT:ICF']
},
'mode:debug': {
- 'CCFLAGS': ['/MTd']
+ 'CCFLAGS': ['/Od', '/MTd'],
+ 'LINKFLAGS': ['/DEBUG']
}
}
}
« 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