Switched back on the "Buffer Security Check" on Windows SCons build.

Added the Windows linker option /OPT:ICF in the SCons build file.



git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@71 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
This commit is contained in:
sgjesse@gmail.com 2008-09-01 10:16:00 +00:00
parent 9cd4196c55
commit ed90d8aba8

View File

@ -63,7 +63,7 @@ LIBRARY_FLAGS = {
'DIALECTFLAGS': ['/nologo'],
'WARNINGFLAGS': ['/W3', '/WX', '/wd4355', '/wd4800'],
'CCFLAGS': ['$DIALECTFLAGS', '$WARNINGFLAGS'],
'CXXFLAGS': ['$CCFLAGS', '/GS-', '/GR-', '/Gy'],
'CXXFLAGS': ['$CCFLAGS', '/GR-', '/Gy'],
'CPPDEFINES': ['WIN32', '_CRT_SECURE_NO_DEPRECATE',
'_CRT_NONSTDC_NO_DEPRECATE', '_USE_32BIT_TIME_T',
'PCRE_STATIC'],
@ -79,7 +79,7 @@ LIBRARY_FLAGS = {
},
'mode:release': {
'CCFLAGS': ['/Ox', '/MT', '/Ob2', '/Oi', '/Oy'],
'LINKFLAGS': ['/OPT:REF']
'LINKFLAGS': ['/OPT:REF', '/OPT:ICF']
}
}
}