summaryrefslogtreecommitdiff
path: root/dom
diff options
context:
space:
mode:
authortrav90 <travawine@openmailbox.org>2018-03-04 15:19:38 -0600
committertrav90 <travawine@openmailbox.org>2018-03-04 15:19:38 -0600
commit9d71d801f6a244a86e25c304fec3dafa1501818b (patch)
treeb057ea3b3d8d9162e995c10c9e88ae2fab4424eb /dom
parentea6fc45f6773220f465aa6463129be765c8fe61e (diff)
downloaduxp-9d71d801f6a244a86e25c304fec3dafa1501818b.tar.gz
Disable -Wimplicit-fallthrough in dom/canvas
GCC 7 supports the clang option -Wimplicit-fallthrough.
Diffstat (limited to 'dom')
-rw-r--r--dom/canvas/moz.build2
1 files changed, 1 insertions, 1 deletions
diff --git a/dom/canvas/moz.build b/dom/canvas/moz.build
index 2b2ceba524..55153c70b8 100644
--- a/dom/canvas/moz.build
+++ b/dom/canvas/moz.build
@@ -162,7 +162,7 @@ SOURCES += [
]
# Suppress warnings from third-party code.
-if CONFIG['CLANG_CXX']:
+if CONFIG['CLANG_CXX'] or CONFIG['GNU_CXX']:
SOURCES['MurmurHash3.cpp'].flags += ['-Wno-implicit-fallthrough']
LOCAL_INCLUDES += [