Chaneg MACHINE to MACHINE_ARCH to support MACHINE=pc98.
This commit is contained in:
parent
b8f26023ac
commit
b576a5aeae
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=38853
@ -1,10 +1,10 @@
|
|||||||
# $Id: Makefile,v 1.25 1997/11/29 03:32:46 jdp Exp $
|
# $Id: Makefile,v 1.26 1998/06/01 13:00:32 peter Exp $
|
||||||
PROG= ld.so
|
PROG= ld.so
|
||||||
SRCS= mdprologue.S rtld.c shlib.c md.c support.c
|
SRCS= mdprologue.S rtld.c shlib.c md.c support.c
|
||||||
MAN1= rtld.1
|
MAN1= rtld.1
|
||||||
# As there is relocation going on behind GCC's back, don't cache function addresses.
|
# As there is relocation going on behind GCC's back, don't cache function addresses.
|
||||||
PICFLAG=-fpic -fno-function-cse
|
PICFLAG=-fpic -fno-function-cse
|
||||||
CFLAGS+=-I${.CURDIR} -I${.CURDIR}/${MACHINE} ${PICFLAG} -DRTLD -Wall
|
CFLAGS+=-I${.CURDIR} -I${.CURDIR}/${MACHINE_ARCH} ${PICFLAG} -DRTLD -Wall
|
||||||
LDFLAGS+=-nostdlib -Wl,-Bshareable,-Bsymbolic,-assert,nosymbolic
|
LDFLAGS+=-nostdlib -Wl,-Bshareable,-Bsymbolic,-assert,nosymbolic
|
||||||
ASFLAGS+=-k
|
ASFLAGS+=-k
|
||||||
DPADD+= ${LIBC:S/c.a/c_pic.a/} ${LIBC:S/c.a/gcc_pic.a/}
|
DPADD+= ${LIBC:S/c.a/c_pic.a/} ${LIBC:S/c.a/gcc_pic.a/}
|
||||||
@ -12,6 +12,6 @@ LDADD+= -lc_pic -lgcc_pic
|
|||||||
INSTALLFLAGS+= -fschg -C # -C to install as atomically as possible
|
INSTALLFLAGS+= -fschg -C # -C to install as atomically as possible
|
||||||
MLINKS= rtld.1 ld.so.1
|
MLINKS= rtld.1 ld.so.1
|
||||||
|
|
||||||
.PATH: ${.CURDIR}/${MACHINE}
|
.PATH: ${.CURDIR}/${MACHINE_ARCH}
|
||||||
|
|
||||||
.include <bsd.prog.mk>
|
.include <bsd.prog.mk>
|
||||||
|
Loading…
Reference in New Issue
Block a user