Makefile.inc revision 1.1
1# $NetBSD: Makefile.inc,v 1.1 2014/09/19 17:36:25 matt Exp $ 2 3SRCS+= rtld_start.S mdreloc.c 4 5# XXX Should not be in CPPFLAGS! 6CPPFLAGS+= -fpic 7 8.if ${LDELFSO_MACHINE_ARCH} == "riscv64" 9CPPFLAGS+= -DELFSIZE=64 10.else 11CPPFLAGS+= -DELFSIZE=32 12.endif 13CPPFLAGS+= -DHAVE_INITFINI_ARRAY 14 15LDFLAGS+= -Wl,-e,_rtld_start 16