summaryrefslogtreecommitdiff
path: root/media
diff options
context:
space:
mode:
authorFranklinDM <mrmineshafter17@gmail.com>2023-03-17 22:17:26 +0800
committerMoonchild <moonchild@palemoon.org>2023-03-23 01:12:42 +0100
commitef8565458e62381aa56808d9801ea6a4e37eee5b (patch)
tree43364111004bbe66c378324d5395d96296861cb8 /media
parent537a5d447ed60cb23071813d9e6200cc50ccab1d (diff)
downloaduxp-ef8565458e62381aa56808d9801ea6a4e37eee5b.tar.gz
Issue #2061 - Follow-up: Silence compiler warnings for libjxl
Diffstat (limited to 'media')
-rw-r--r--media/libjxl/moz.build4
1 files changed, 3 insertions, 1 deletions
diff --git a/media/libjxl/moz.build b/media/libjxl/moz.build
index 8ac386a548..38cd40344f 100644
--- a/media/libjxl/moz.build
+++ b/media/libjxl/moz.build
@@ -128,7 +128,9 @@ DEFINES["JPEGXL_ENABLE_TRANSCODE_JPEG"] = "0"
FINAL_LIBRARY = "gkmedias"
# We allow warnings for third-party code that can be updated from upstream.
-ALLOW_COMPILER_WARNINGS = True
+# XXX: libjxl produces way too many compiler warnings.
+# Silence them in the meantime.
+ALLOW_COMPILER_WARNINGS = False
# Clang 5.0 has a compiler bug that prevents build in c++17
# See https://gitlab.com/wg1/jpeg-xl/-/issues/227