Make this work with objdirs.

This commit is contained in:
thorpej 1998-03-26 07:36:30 +00:00
parent eb671b4eaa
commit c506364411
2 changed files with 6 additions and 4 deletions

View File

@ -1,4 +1,4 @@
# $NetBSD: Makefile.inc,v 1.1 1998/03/25 04:12:32 mhitch Exp $
# $NetBSD: Makefile.inc,v 1.2 1998/03/26 07:36:30 thorpej Exp $
SRCS+= rtld_start.S mips_reloc.c
@ -9,7 +9,8 @@ CPPFLAGS+= -mabicalls -G0 -fPIC -DELFSIZE=32 -I${.CURDIR}
LDFLAGS+= -EB
.endif
LDFLAGS+= -Bshareable -Bsymbolic -e .rtld_start --script mips/ld.so.script
LDFLAGS+= -Bshareable -Bsymbolic -e .rtld_start
LDFLAGS+= --script ${.CURDIR}/mips/ld.so.script
# Link ld.so for backward compatibility with old binaries
LINKS+= ${DESTDIR}/usr/libexec/${PROG} ${DESTDIR}/usr/libexec/ld.so

View File

@ -1,4 +1,4 @@
# $NetBSD: Makefile.inc,v 1.1 1998/03/25 04:12:32 mhitch Exp $
# $NetBSD: Makefile.inc,v 1.2 1998/03/26 07:36:30 thorpej Exp $
SRCS+= rtld_start.S mips_reloc.c
@ -9,7 +9,8 @@ CPPFLAGS+= -mabicalls -G0 -fPIC -DELFSIZE=32 -I${.CURDIR}
LDFLAGS+= -EB
.endif
LDFLAGS+= -Bshareable -Bsymbolic -e .rtld_start --script mips/ld.so.script
LDFLAGS+= -Bshareable -Bsymbolic -e .rtld_start
LDFLAGS+= --script ${.CURDIR}/mips/ld.so.script
# Link ld.so for backward compatibility with old binaries
LINKS+= ${DESTDIR}/usr/libexec/${PROG} ${DESTDIR}/usr/libexec/ld.so