mirror of
https://github.com/openglow-org/forgefirm.git
synced 2026-09-28 01:01:12 -07:00
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:
@@ -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"
|
||||||
|
|||||||
Reference in New Issue
Block a user