From ed90d8aba8f278bd980253ea60a0a5f37ad66752 Mon Sep 17 00:00:00 2001 From: "sgjesse@gmail.com" Date: Mon, 1 Sep 2008 10:16:00 +0000 Subject: [PATCH] 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 --- SConstruct | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/SConstruct b/SConstruct index f5522beaa..ed0c3974b 100644 --- a/SConstruct +++ b/SConstruct @@ -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'] } } } -- 2.34.1