Makefile.inc revision 1.13
1#	$NetBSD: Makefile.inc,v 1.13 2013/01/22 22:49:09 matt Exp $
2
3SRCS+=		rtld_start.S mdreloc.c
4
5# XXX Should not be in CPPFLAGS!
6CPPFLAGS+=	-fpic
7
8CPPFLAGS+=	-DELFSIZE=32
9.if ${MACHINE_ARCH} == "earm" || ${MACHINE_ARCH} == "earmeb" || \
10  ${CFLAGS:Mabi=aapcs} != ""
11CPPFLAGS+=	-DHAVE_INITFINI_ARRAY
12.endif
13
14LDFLAGS+=	-Wl,-e,_rtld_start
15