NetBSD/tests/lib/csu/Makefile.check_stack
joerg 236a44094d Test alignment of constructor / destructor calls as well as the stack
of new threads. Currently implement for i386 and AMD64.
2010-11-30 18:38:53 +00:00

11 lines
300 B
Makefile

# $NetBSD: Makefile.check_stack,v 1.1 2010/11/30 18:38:53 joerg Exp $
.include <bsd.own.mk>
CSU_ARCHDIR= ${.PARSEDIR}/arch/${MACHINE_ARCH}
.PATH: ${CSU_ARCHDIR}
.if exists(${CSU_ARCHDIR}/h_initfini_align.S)
SRCS_CHECK_STACK= h_initfini_align.S
CPPFLAGS_CHECK_STACK+= -DCHECK_STACK_ALIGNMENT
.endif