Index: SConstruct |
=================================================================== |
--- SConstruct (revision 268) |
+++ SConstruct (working copy) |
@@ -45,7 +45,7 @@ |
'DIALECTFLAGS': ['-ansi'], |
'CCFLAGS': ['$DIALECTFLAGS', '$WARNINGFLAGS', |
'-fno-strict-aliasing'], |
- 'CXXFLAGS': ['$CCFLAGS', '-fno-rtti', '-fno-exceptions'], |
+ 'CXXFLAGS': ['-fno-rtti', '-fno-exceptions'], |
'LIBS': ['pthread'] |
}, |
'mode:debug': { |
@@ -456,6 +456,7 @@ |
) |
# Link the object files into a library. |
+ env.Replace(**context.flags['v8']) |
context.ApplyEnvOverrides(env) |
if context.options['library'] == 'static': |
library = env.StaticLibrary(library_name, object_files) |