diff options
author | trav90 <travawine@openmailbox.org> | 2018-03-04 15:30:09 -0600 |
---|---|---|
committer | trav90 <travawine@openmailbox.org> | 2018-03-04 15:30:09 -0600 |
commit | 141607b6de3113e5bb0174ee817bf9d438e31950 (patch) | |
tree | 9297e2d6d3b02bf1df65fc831522d7ac8687db74 /js/src/jsapi-tests | |
parent | 3bb7b8e11e34ec8a0de43e6c6fac2ec38b6ee738 (diff) | |
download | uxp-141607b6de3113e5bb0174ee817bf9d438e31950.tar.gz |
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.build | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/js/src/jsapi-tests/moz.build b/js/src/jsapi-tests/moz.build index ab42ff3841..f7a6080aa8 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']: |