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 | b9bb9f4cc643bf2285ee8396cb82bcc86ddfa693 (patch) | |
tree | d2f7ebbaae5bf4397afac770b519807f698a80dc /js | |
parent | d219b672a30830953d6b26399e395f75f23cd33e (diff) | |
download | UXP-b9bb9f4cc643bf2285ee8396cb82bcc86ddfa693.tar UXP-b9bb9f4cc643bf2285ee8396cb82bcc86ddfa693.tar.gz UXP-b9bb9f4cc643bf2285ee8396cb82bcc86ddfa693.tar.lz UXP-b9bb9f4cc643bf2285ee8396cb82bcc86ddfa693.tar.xz UXP-b9bb9f4cc643bf2285ee8396cb82bcc86ddfa693.zip |
Disable -Wimplicit-fallthrough when building jsdtoa.cpp
GCC 7 supports the clang option -Wimplicit-fallthrough.
Diffstat (limited to 'js')
-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 0a4abd80f..77acb10b9 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'] |