NetBSD/lib/librumphijack/Makefile
tron 4923acbfbe Make sure that "_FORTIFY_SOURCE" really gets undefined even if "USE_SSP"
is set to "yes" to fix build problems caused by the recent change to
this makefile.
2014-01-18 18:37:30 +00:00

24 lines
460 B
Makefile

# $NetBSD: Makefile,v 1.16 2014/01/18 18:37:30 tron Exp $
#
LIB= rumphijack
NOSTATICLIB= dlfun
NOPROFILE= dlfun
LIBDPLIBS+= pthread ${.CURDIR}/../libpthread \
rumpclient ${.CURDIR}/../librumpclient
MAN= rumphijack.3
SRCS= hijack.c hijackdlsym.c
CPPFLAGS+= -D_DIAGNOSTIC -D_REENTRANT
WARNS?= 5
# make sure the compiler doesn't get clever, since we need
# a stack frame
COPTS.hijackdlsym.c+= -O0
.include <bsd.lib.mk>
CPPFLAGS+= -U_FORTIFY_SOURCE