The branch main has been updated by imp: URL: https://cgit.FreeBSD.org/src/commit/?id=edf9a2fae94a4b0ffa11d40ce52a48a609da9353
commit edf9a2fae94a4b0ffa11d40ce52a48a609da9353 Author: Warner Losh <i...@freebsd.org> AuthorDate: 2025-08-17 16:36:16 +0000 Commit: Warner Losh <i...@freebsd.org> CommitDate: 2025-08-17 17:13:33 +0000 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 --- lib/libc/stdlib/malloc/jemalloc/Makefile.inc | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lib/libc/stdlib/malloc/jemalloc/Makefile.inc b/lib/libc/stdlib/malloc/jemalloc/Makefile.inc index b9e34edfdea5..7722a7b755f3 100644 --- a/lib/libc/stdlib/malloc/jemalloc/Makefile.inc +++ b/lib/libc/stdlib/malloc/jemalloc/Makefile.inc @@ -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}