0aad0f2282
doesn't use the default CFLAGS which contain -fno-strict-aliasing. Until the code is cleaned up, just add -fno-strict-aliasing to the CFLAGS of these for the tinderboxes' sake, allowing the rest of the tree to have -Werror enabled again.
18 lines
452 B
Makefile
18 lines
452 B
Makefile
# $FreeBSD$
|
|
|
|
PROG= nscd
|
|
MAN= nscd.conf.5 nscd.8
|
|
|
|
WARNS?= 2
|
|
CFLAGS+=-fno-strict-aliasing
|
|
SRCS= agent.c nscd.c nscdcli.c cachelib.c cacheplcs.c debug.c log.c \
|
|
config.c query.c mp_ws_query.c mp_rs_query.c singletons.c protocol.c \
|
|
parser.c
|
|
CFLAGS+= -DCONFIG_PATH="\"${PREFIX}/etc/nscd.conf\""
|
|
DPADD= ${LIBM} ${LIBPTHREAD} ${LIBUTIL}
|
|
LDADD= -lm -lpthread -lutil
|
|
|
|
.PATH: ${.CURDIR}/agents
|
|
.include "${.CURDIR}/agents/Makefile.inc"
|
|
.include <bsd.prog.mk>
|