NetBSD/libexec/ld.elf_so/arch/powerpc/Makefile.inc
thorpej b3827960df Grumble. Put compiler options back into CPPFLAGS for now, since
they're needed to build .S files with the correct PIC options.

XXX Really needs cleanup in <bsd.*.mk> to do this properly.
2001-12-20 19:20:02 +00:00

12 lines
313 B
Makefile

# $NetBSD: Makefile.inc,v 1.5 2001/12/20 19:20:03 thorpej Exp $
SRCS+= rtld_start.S ppc_reloc.c
# XXX Should not be in CPPFLAGS!
CPPFLAGS+= -fpic -msoft-float
CPPFLAGS+= -DELFSIZE=32 -DVARPSZ -I${.CURDIR}
LDFLAGS+= -Bshareable -Bsymbolic -e .rtld_start
LDFLAGS+= --script ${.CURDIR}/arch/powerpc/ld.so.script