summaryrefslogtreecommitdiff
path: root/dom/canvas/moz.build
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
commitf2fc5632109a932e0e815983dfd4a190432f3b3a (patch)
treeb057ea3b3d8d9162e995c10c9e88ae2fab4424eb /dom/canvas/moz.build
parenta973e506c148589593226c1f0ccfbed59fff8790 (diff)
downloaduxp-f2fc5632109a932e0e815983dfd4a190432f3b3a.tar.gz
Disable -Wimplicit-fallthrough in dom/canvas
GCC 7 supports the clang option -Wimplicit-fallthrough.
Diffstat (limited to 'dom/canvas/moz.build')
-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 += [