Skip to content

Instantly share code, notes, and snippets.

@fredrik
Created March 22, 2011 18:21
Show Gist options
  • Save fredrik/881735 to your computer and use it in GitHub Desktop.
Save fredrik/881735 to your computer and use it in GitHub Desktop.
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 = []
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment