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:
@@ -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}
|
||||
|
||||
Reference in New Issue
Block a user