summaryrefslogtreecommitdiff
path: root/mfbt/moz.build
diff options
context:
space:
mode:
Diffstat (limited to 'mfbt/moz.build')
-rw-r--r--mfbt/moz.build13
1 files changed, 2 insertions, 11 deletions
diff --git a/mfbt/moz.build b/mfbt/moz.build
index 54b13f21b9..e4b294292d 100644
--- a/mfbt/moz.build
+++ b/mfbt/moz.build
@@ -124,20 +124,11 @@ SOURCES += mfbt_nonunified_src_cppsrcs
DISABLE_STL_WRAPPING = True
-# Suppress warnings in third-party LZ4 code.
-# TODO: Remove these suppressions after bug 993267 is fixed.
-
-if CONFIG['GNU_CXX']:
- SOURCES['/mfbt/Compression.cpp'].flags += ['-Wno-unused-function']
- CXXFLAGS += ['-Wno-error=shadow']
-
if CONFIG['CLANG_CXX']:
# Suppress warnings from third-party V8 Decimal code.
SOURCES['/mfbt/decimal/Decimal.cpp'].flags += ['-Wno-implicit-fallthrough']
-if CONFIG['_MSC_VER']:
- # Error 4804 is "'>' : unsafe use of type 'bool' in operation"
- SOURCES['/mfbt/Compression.cpp'].flags += ['-wd4804']
-
if CONFIG['MOZ_NEEDS_LIBATOMIC']:
OS_LIBS += ['atomic']
+
+DEFINES['LZ4LIB_VISIBILITY'] = ''