ulfius: keep -Wconversion non-fatal under the arm32 time64 ABI

ulfius builds itself with -Werror -Wconversion; Yocto Scarthgap sets
-D_TIME_BITS=64 on arm32, making a long-long-to-long time conversion
in u_websocket.c fatal. Exclude conversion warnings from -Werror.
This commit is contained in:
ScottW514
2026-07-26 16:18:40 -04:00
parent 83627a6aea
commit 14470e9122
@@ -21,3 +21,8 @@ DEPENDS = "gnutls jansson libmicrohttpd curl orcania yder"
# No systemd journald on the forgefirm image. # No systemd journald on the forgefirm image.
EXTRA_OECMAKE += "-DWITH_JOURNALD=off" EXTRA_OECMAKE += "-DWITH_JOURNALD=off"
# ulfius builds itself with -Werror -Wconversion; under Yocto's arm32
# time64 ABI (-D_TIME_BITS=64) a long-long-to-long time conversion in
# u_websocket.c trips it. Warning stays visible, just not fatal.
CFLAGS += "-Wno-error=conversion"