freebsd-nq/lib/libbegemot/Makefile
John Baldwin 996ee96597 libbegemot: Disable -Wuse-after-free.
The _xrealloc() function prints pointer values for internal assertion
failures and in one case does so after it has freed the pointer.

Reviewed by:	emaste
Differential Revision:	https://reviews.freebsd.org/D36819
2022-10-03 16:10:43 -07:00

30 lines
504 B
Makefile

# $FreeBSD$
LIBBEGEMOT_DIR=${SRCTOP}/contrib/libbegemot
PACKAGE=lib${LIB}
.PATH: ${LIBBEGEMOT_DIR}
LIB= begemot
SHLIB_MAJOR= 4
SHLIBDIR?= /lib
CFLAGS+= -DUSE_SELECT -DQUADFMT='"ll"'
SRCS= rpoll.c
INCS= rpoll.h
MAN= rpoll.3
CLEANFILES= rpoll.3
rpoll.3: rpoll.man
cat ${.ALLSRC} > ${.TARGET}
MLINKS= rpoll.3 poll_register.3 \
rpoll.3 poll_unregister.3 \
rpoll.3 poll_start_timer.3 \
rpoll.3 poll_stop_timer.3 \
rpoll.3 poll_dispatch.3
.include <bsd.lib.mk>
CWARNFLAGS+= ${NO_WUSE_AFTER_FREE}