updated on Thu Jan 19 16:10:29 UTC 2012
[aur-mirror.git] / v8-static / no-strict-aliasing.patch
blob5be66cb9734ca970cce1778ad22e3f6162ae7fc4
1 Index: SConstruct
2 ===================================================================
3 --- SConstruct (revision 3521)
4 +++ SConstruct (working copy)
5 @@ -47,7 +47,7 @@
6 # on linux we need these compiler flags to avoid crashes in the v8 test suite
7 # and avoid dtoa.c strict aliasing issues
8 if os.environ.get('GCC_VERSION') == '44':
9 - GCC_EXTRA_CCFLAGS = ['-fno-tree-vrp']
10 + GCC_EXTRA_CCFLAGS = ['-fno-tree-vrp', '-fno-strict-aliasing']
11 GCC_DTOA_EXTRA_CCFLAGS = ['-fno-strict-aliasing']
12 else:
13 GCC_EXTRA_CCFLAGS = []