diff options
author | trav90 <travawine@openmailbox.org> | 2018-03-04 15:09:21 -0600 |
---|---|---|
committer | trav90 <travawine@openmailbox.org> | 2018-03-04 15:09:21 -0600 |
commit | e62df0830d775d9b08e9e3611bcb400869e7c901 (patch) | |
tree | d2f7ebbaae5bf4397afac770b519807f698a80dc /js/src/moz.build | |
parent | f274c031d77a1961ec770a00ac3a060583d3c485 (diff) | |
download | uxp-e62df0830d775d9b08e9e3611bcb400869e7c901.tar.gz |
Disable -Wimplicit-fallthrough when building jsdtoa.cpp
GCC 7 supports the clang option -Wimplicit-fallthrough.
Diffstat (limited to 'js/src/moz.build')
-rw-r--r-- | js/src/moz.build | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/js/src/moz.build b/js/src/moz.build index 0a4abd80f3..77acb10b9c 100644 --- a/js/src/moz.build +++ b/js/src/moz.build @@ -790,5 +790,5 @@ if CONFIG['GNU_CXX']: CXXFLAGS += ['-Wno-shadow', '-Werror=format', '-fno-strict-aliasing'] # Suppress warnings in third-party code. -if CONFIG['CLANG_CXX']: +if CONFIG['CLANG_CXX'] or CONFIG['GNU_CXX']: SOURCES['jsdtoa.cpp'].flags += ['-Wno-implicit-fallthrough'] |