Workaround for V8 bug 884
authorBert Belder <bertbelder@gmail.com>
Tue, 18 Jan 2011 02:57:14 +0000 (03:57 +0100)
committerRyan Dahl <ry@tinyclouds.org>
Wed, 19 Jan 2011 19:06:49 +0000 (11:06 -0800)
See http://code.google.com/p/v8/issues/detail?id=884

deps/v8/SConstruct

index 50babba..77482d4 100644 (file)
@@ -132,7 +132,7 @@ LIBRARY_FLAGS = {
   'gcc': {
     'all': {
       'CCFLAGS':      ['$DIALECTFLAGS', '$WARNINGFLAGS'],
-      'CXXFLAGS':     ['$CCFLAGS', '-fno-rtti', '-fno-exceptions'],
+      'CXXFLAGS':     ['$CCFLAGS', '-fno-rtti', '-fno-exceptions', '-fno-builtin-memcpy'],
     },
     'visibility:hidden': {
       # Use visibility=default to disable this.