summaryrefslogtreecommitdiff
path: root/js/src/moz.build
diff options
context:
space:
mode:
authortrav90 <travawine@openmailbox.org>2018-03-04 15:09:21 -0600
committertrav90 <travawine@openmailbox.org>2018-03-04 15:09:21 -0600
commite62df0830d775d9b08e9e3611bcb400869e7c901 (patch)
treed2f7ebbaae5bf4397afac770b519807f698a80dc /js/src/moz.build
parentf274c031d77a1961ec770a00ac3a060583d3c485 (diff)
downloaduxp-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.build2
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']