Author: [email protected]
Date: Mon Jan 26 11:32:01 2009
New Revision: 1164
Modified:
branches/bleeding_edge/SConstruct
Log:
Put code and data pieces in their own sections.
This makes --gc-sections perform better, as the GC operates on whole
sections. This makes a worthwhile binary size decrease in the Chromium
Linux build.
Review URL: http://codereview.chromium.org/18803
Modified: branches/bleeding_edge/SConstruct
==============================================================================
--- branches/bleeding_edge/SConstruct (original)
+++ branches/bleeding_edge/SConstruct Mon Jan 26 11:32:01 2009
@@ -52,7 +52,7 @@
'CPPDEFINES': ['ENABLE_DISASSEMBLER', 'DEBUG']
},
'mode:release': {
- 'CCFLAGS': ['-O3', '-fomit-frame-pointer']
+ 'CCFLAGS':
['-O3', '-fomit-frame-pointer', '-fdata-sections', '-ffunction-sections']
},
'os:freebsd': {
'LIBS': ['execinfo']
--~--~---------~--~----~------------~-------~--~----~
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev
-~----------~----~----~----~------~----~------~--~---