summaryrefslogtreecommitdiffstats
path: root/js/src/jsapi-tests
diff options
context:
space:
mode:
authortrav90 <travawine@openmailbox.org>2018-03-04 15:30:09 -0600
committertrav90 <travawine@openmailbox.org>2018-03-04 15:30:09 -0600
commit141607b6de3113e5bb0174ee817bf9d438e31950 (patch)
tree9297e2d6d3b02bf1df65fc831522d7ac8687db74 /js/src/jsapi-tests
parent3bb7b8e11e34ec8a0de43e6c6fac2ec38b6ee738 (diff)
downloadUXP-141607b6de3113e5bb0174ee817bf9d438e31950.tar
UXP-141607b6de3113e5bb0174ee817bf9d438e31950.tar.gz
UXP-141607b6de3113e5bb0174ee817bf9d438e31950.tar.lz
UXP-141607b6de3113e5bb0174ee817bf9d438e31950.tar.xz
UXP-141607b6de3113e5bb0174ee817bf9d438e31950.zip
Disable strict-aliasing for GCC in js/src/jsapi-tests
Compiling our tree with strict-aliasing is not supported.
Diffstat (limited to 'js/src/jsapi-tests')
-rw-r--r--js/src/jsapi-tests/moz.build2
1 files changed, 1 insertions, 1 deletions
diff --git a/js/src/jsapi-tests/moz.build b/js/src/jsapi-tests/moz.build
index ab42ff384..f7a6080aa 100644
--- a/js/src/jsapi-tests/moz.build
+++ b/js/src/jsapi-tests/moz.build
@@ -147,7 +147,7 @@ USE_LIBS += [
OS_LIBS += CONFIG['MOZ_ZLIB_LIBS']
if CONFIG['GNU_CXX']:
- CXXFLAGS += ['-Wno-shadow', '-Werror=format']
+ CXXFLAGS += ['-Wno-shadow', '-Werror=format', '-fno-strict-aliasing']
# This is intended as a temporary workaround to enable VS2015.
if CONFIG['_MSC_VER']: