1
0
Fork 0
mirror of https://github.com/rubyjs/therubyracer synced 2023-03-27 23:21:42 -04:00

SCons patch for no-strict-aliasing not necessary anymore.

This commit is contained in:
Charles Lowell 2010-05-06 22:13:15 -05:00
parent 5c8c8c876a
commit 082f1bda2f

View file

@ -1,13 +0,0 @@
Index: SConstruct
===================================================================
--- SConstruct (revision 3521)
+++ SConstruct (working copy)
@@ -47,7 +47,7 @@
# 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 = ['-fno-strict-aliasing']
else:
GCC_EXTRA_CCFLAGS = []