NetBSD/libexec/ld.elf_so/arch/alpha/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

13 lines
322 B
Makefile

# $NetBSD: Makefile.inc,v 1.8 2001/12/20 19:20:02 thorpej Exp $
SRCS+= rtld_start.S alpha_reloc.c
# XXX Should not be in CPPFLAGS!
CPPFLAGS+= -fpic -mno-fp-regs
CPPFLAGS+= -DELFSIZE=64
#CPPFLAGS+= -DRTLD_DEBUG_ALPHA
LDFLAGS+= -Bshareable -Bsymbolic -e _rtld_start
LDFLAGS+= --script ${.CURDIR}/arch/alpha/ld.so.script