1 # $NetBSD: Makefile.check_stack,v 1.2 2013/12/11 17:31:55 matt Exp $
5 .if exists(${.PARSEDIR}/arch/${MACHINE_ARCH})
6 CSU_ARCHDIR= ${.PARSEDIR}/arch/${MACHINE_ARCH}
8 .elif exists(${.PARSEDIR}/arch/${MACHINE_CPU})
9 CSU_ARCHDIR= ${.PARSEDIR}/arch/${MACHINE_CPU}
12 .if exists(${CSU_ARCHDIR}/h_initfini_align.S)
13 SRCS_CHECK_STACK= h_initfini_align.S
14 CPPFLAGS_CHECK_STACK+= -DCHECK_STACK_ALIGNMENT