Makefile.inc revision 1.15
1# $NetBSD: Makefile.inc,v 1.15 2014/08/15 09:40:07 matt Exp $ 2 3SRCS+= ppc_reloc.c 4LDFLAGS+= -Wl,-e,_rtld_start 5 6CPPFLAGS+= -fPIC 7 8.if ${LDELFSO_MACHINE_ARCH} == "powerpc64" 9SRCS+= rtld_start64.S 10CPPFLAGS+= -DELFSIZE=64 11.else 12SRCS+= rtld_start.S 13CPPFLAGS+= -DELFSIZE=32 14LDFLAGS+= -Wl,--script,${.CURDIR}/arch/powerpc/ld.so.script 15.endif 16