Commit ed90d8ab authored by sgjesse@gmail.com's avatar sgjesse@gmail.com

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
parent 9cd4196c
......@@ -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']
}
}
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment