diff --git a/libexec/ld.elf_so/arch/mips/Makefile.inc b/libexec/ld.elf_so/arch/mips/Makefile.inc index 51e5ef39eb33..4cedf248c7b3 100644 --- a/libexec/ld.elf_so/arch/mips/Makefile.inc +++ b/libexec/ld.elf_so/arch/mips/Makefile.inc @@ -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 diff --git a/libexec/ld.elf_so/mips/Makefile.inc b/libexec/ld.elf_so/mips/Makefile.inc index 51e5ef39eb33..4cedf248c7b3 100644 --- a/libexec/ld.elf_so/mips/Makefile.inc +++ b/libexec/ld.elf_so/mips/Makefile.inc @@ -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