Make this work with objdirs.
This commit is contained in:
parent
eb671b4eaa
commit
c506364411
@ -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
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user