diff options
author | trav90 <travawine@openmailbox.org> | 2018-03-04 15:07:25 -0600 |
---|---|---|
committer | trav90 <travawine@openmailbox.org> | 2018-03-04 15:07:25 -0600 |
commit | d219b672a30830953d6b26399e395f75f23cd33e (patch) | |
tree | 50becf8eff8ae905be980943d08a7de7a6570019 /js/src/gdb | |
parent | 860efa70ee5be805cd0d8c9bcfcb2374f11296f2 (diff) | |
download | uxp-d219b672a30830953d6b26399e395f75f23cd33e.tar.gz |
Disable strict-aliasing for GCC in js/src/gdb
Compiling our tree with strict-aliasing is not supported.
Diffstat (limited to 'js/src/gdb')
-rw-r--r-- | js/src/gdb/moz.build | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/js/src/gdb/moz.build b/js/src/gdb/moz.build index 07047fb742..681f9807c1 100644 --- a/js/src/gdb/moz.build +++ b/js/src/gdb/moz.build @@ -42,7 +42,7 @@ if CONFIG['ENABLE_INTL_API'] and CONFIG['MOZ_ICU_DATA_ARCHIVE']: OS_LIBS += CONFIG['MOZ_ZLIB_LIBS'] if CONFIG['GNU_CXX']: - CXXFLAGS += ['-Wno-shadow'] + CXXFLAGS += ['-Wno-shadow', '-fno-strict-aliasing'] # This is intended as a temporary workaround to enable VS2015. if CONFIG['_MSC_VER']: |