git: dfd63e9ee7b0 - main - graphics/libjxl: don't disable -Werror
Date: Wed, 05 Oct 2022 16:48:47 UTC
The branch main has been updated by jbeich:
URL: https://cgit.FreeBSD.org/ports/commit/?id=dfd63e9ee7b001e53fadc5477b2119a203dde2a4
commit dfd63e9ee7b001e53fadc5477b2119a203dde2a4
Author: Jan Beich <jbeich@FreeBSD.org>
AuthorDate: 2022-10-05 15:41:16 +0000
Commit: Jan Beich <jbeich@FreeBSD.org>
CommitDate: 2022-10-05 16:48:01 +0000
graphics/libjxl: don't disable -Werror
FreeBSD is supported upstream, and upstream regularly tests with Clang.
I'd like to be notified of new warnings. Let's see how long it lasts.
Tested by: Clang 11/13/14/15, GCC 11, -DNDEBUG
---
graphics/libjxl/Makefile | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/graphics/libjxl/Makefile b/graphics/libjxl/Makefile
index ffe222a76fa1..cac19b6f5760 100644
--- a/graphics/libjxl/Makefile
+++ b/graphics/libjxl/Makefile
@@ -23,7 +23,7 @@ GH_TUPLE= jbeich:skcms:6437475:skcms/third_party/skcms \
webmproject:sjpeg:868ab55:sjpeg/third_party/sjpeg \
${NULL}
CMAKE_ON= JPEGXL_ENABLE_PLUGINS
-CMAKE_OFF= JPEGXL_WARNINGS_AS_ERRORS ${BENCHMARK FUZZERS TCMALLOC:L:S/^/JPEGXL_ENABLE_/}
+CMAKE_OFF= ${BENCHMARK FUZZERS TCMALLOC:L:S/^/JPEGXL_ENABLE_/}
CMAKE_OFF+= ${OpenGL GLUT:L:S/^/CMAKE_DISABLE_FIND_PACKAGE_/} # sjpeg
CMAKE_OFF+= ${CMAKE_TESTING_ON}
LDFLAGS+= -Wl,--as-needed # brotlicommon, OPENEXR/PNG deps