summaryrefslogtreecommitdiffstats
path: root/js/src/gdb/moz.build
diff options
context:
space:
mode:
authortrav90 <travawine@openmailbox.org>2018-03-04 15:07:25 -0600
committertrav90 <travawine@openmailbox.org>2018-03-04 15:07:25 -0600
commitd219b672a30830953d6b26399e395f75f23cd33e (patch)
tree50becf8eff8ae905be980943d08a7de7a6570019 /js/src/gdb/moz.build
parent860efa70ee5be805cd0d8c9bcfcb2374f11296f2 (diff)
downloadUXP-d219b672a30830953d6b26399e395f75f23cd33e.tar
UXP-d219b672a30830953d6b26399e395f75f23cd33e.tar.gz
UXP-d219b672a30830953d6b26399e395f75f23cd33e.tar.lz
UXP-d219b672a30830953d6b26399e395f75f23cd33e.tar.xz
UXP-d219b672a30830953d6b26399e395f75f23cd33e.zip
Disable strict-aliasing for GCC in js/src/gdb
Compiling our tree with strict-aliasing is not supported.
Diffstat (limited to 'js/src/gdb/moz.build')
-rw-r--r--js/src/gdb/moz.build2
1 files changed, 1 insertions, 1 deletions
diff --git a/js/src/gdb/moz.build b/js/src/gdb/moz.build
index 07047fb74..681f9807c 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']: