summaryrefslogtreecommitdiffstats
path: root/security/sandbox
diff options
context:
space:
mode:
authorMoonchild <mcwerewolf@gmail.com>2018-03-10 11:10:35 +0100
committerGitHub <noreply@github.com>2018-03-10 11:10:35 +0100
commit9e2ba2237f3ead25f6caa0c6838934058f795fa8 (patch)
tree5811fb7409a0d382df30042b88d1cca896bb3a3f /security/sandbox
parent2e5f399735258263bc1b172b5312567d1256093c (diff)
parent28b120018135438eaff8307f3cdef921a697d47a (diff)
downloadUXP-9e2ba2237f3ead25f6caa0c6838934058f795fa8.tar
UXP-9e2ba2237f3ead25f6caa0c6838934058f795fa8.tar.gz
UXP-9e2ba2237f3ead25f6caa0c6838934058f795fa8.tar.lz
UXP-9e2ba2237f3ead25f6caa0c6838934058f795fa8.tar.xz
UXP-9e2ba2237f3ead25f6caa0c6838934058f795fa8.zip
Merge pull request #51 from trav90/buildsystem-work
Improve support for GCC 7.x
Diffstat (limited to 'security/sandbox')
-rw-r--r--security/sandbox/linux/moz.build4
1 files changed, 2 insertions, 2 deletions
diff --git a/security/sandbox/linux/moz.build b/security/sandbox/linux/moz.build
index bde75cdb7..4273da955 100644
--- a/security/sandbox/linux/moz.build
+++ b/security/sandbox/linux/moz.build
@@ -75,8 +75,8 @@ SOURCES += [
# consistent. See also the comment in SandboxLogging.h.
SOURCES['../chromium/base/strings/safe_sprintf.cc'].flags += ['-DNDEBUG']
-# Keep clang from warning about intentional 'switch' fallthrough in icu_utf.cc:
-if CONFIG['CLANG_CXX']:
+# Keep clang and GCC from warning about intentional 'switch' fallthrough in icu_utf.cc:
+if CONFIG['CLANG_CXX'] or CONFIG['GNU_CXX']:
SOURCES['../chromium/base/third_party/icu/icu_utf.cc'].flags += ['-Wno-implicit-fallthrough']
if CONFIG['GNU_CXX']: