diff --git a/deps/v8/SConstruct b/deps/v8/SConstruct index 3121ec5f90..e10f8117c3 100644 --- a/deps/v8/SConstruct +++ b/deps/v8/SConstruct @@ -129,7 +129,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.