jemalloc: don't error out on initializer warning in gcc

gcc doesn't like something about the initializer that comes with
jemalloc. Since it's vendor code, make this warning not an error
for -Werror purposes.

Sponsored by:		Netflix
This commit is contained in:
Warner Losh
2025-08-17 10:36:16 -06:00
parent 054c6e5b2f
commit edf9a2fae9
@@ -14,6 +14,8 @@ CFLAGS+=-I${SRCTOP}/contrib/jemalloc/include -I${LIBC_SRCTOP}/stdlib/malloc/jema
.if ${MK_JEMALLOC_LG_VADDR_WIDE} != no
CFLAGS+=-D_USE_LG_VADDR_WIDE
.endif
CFLAGS.gcc+=-Wno-error=missing-braces
.for src in ${JEMALLOCSRCS}
MISRCS+=jemalloc_${src}