summaryrefslogtreecommitdiff
path: root/deps/v8/SConstruct
diff options
context:
space:
mode:
authorRyan Dahl <ry@tinyclouds.org>2010-08-13 07:43:53 -0700
committerRyan Dahl <ry@tinyclouds.org>2010-08-13 07:43:53 -0700
commit4bbab1434635ada79b5a82a06872a15870213a52 (patch)
tree16031868188935d0e996fb83d64ae0dd82a38297 /deps/v8/SConstruct
parent0e8d858aba114c77b3fce96d052e2df162597ff2 (diff)
downloadnode-new-4bbab1434635ada79b5a82a06872a15870213a52.tar.gz
Revert "Upgrade V8 to 2.3.7"
This reverts commit 083ee0f8b7a8d98d51bf2debf47d68117f13087f. V8 build broken on cygwin: ./deps/v8/src/handles.h:62: instantiated from `T* v8::internal::Handle<T>::operator->() const [with T = v8::internal::Code]' ./deps/v8/src/accessors.cc:396: instantiated from here ./deps/v8/src/handles-inl.h:50: error: call of overloaded `BitCast(v8::internal::Code** const&)' is ambiguous ./deps/v8/src/utils.h:732: note: candidates are: Dest v8::internal::BitCast(const Source&) [with Dest = v8::internal::Code**, Source = v8::internal::Code**] ./deps/v8/src/utils.h:743: note: Dest v8::internal::BitCast(Source* const&) [with Dest = v8::internal::Code**, Source = v8::internal::Code*] scons: *** [obj/release/accessors.o] Error 1
Diffstat (limited to 'deps/v8/SConstruct')
-rw-r--r--deps/v8/SConstruct3
1 files changed, 2 insertions, 1 deletions
diff --git a/deps/v8/SConstruct b/deps/v8/SConstruct
index 8fc192637c..00b8fb7219 100644
--- a/deps/v8/SConstruct
+++ b/deps/v8/SConstruct
@@ -58,7 +58,7 @@ else:
# on linux we need these compiler flags to avoid crashes in the v8 test suite
# and avoid dtoa.c strict aliasing issues
if os.environ.get('GCC_VERSION') == '44':
- GCC_EXTRA_CCFLAGS = ['-fno-tree-vrp']
+ GCC_EXTRA_CCFLAGS = ['-fno-tree-vrp', '-fno-strict-aliasing']
GCC_DTOA_EXTRA_CCFLAGS = []
else:
GCC_EXTRA_CCFLAGS = []
@@ -80,6 +80,7 @@ ANDROID_FLAGS = ['-march=armv7-a',
'-frerun-cse-after-loop',
'-frename-registers',
'-fomit-frame-pointer',
+ '-fno-strict-aliasing',
'-finline-limit=64',
'-DCAN_USE_VFP_INSTRUCTIONS=1',
'-DCAN_USE_ARMV7_INSTRUCTIONS=1',