mirror of
https://github.com/rubyjs/therubyracer
synced 2023-03-27 23:21:42 -04:00
13 lines
530 B
Diff
13 lines
530 B
Diff
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 = []
|