Update ELFSIZE and VARPSZ arch lists.
This commit is contained in:
parent
e05ba164ef
commit
7e8a4549fd
@ -1,4 +1,4 @@
|
|||||||
# $NetBSD: Makefile,v 1.12 2001/07/13 17:00:35 matt Exp $
|
# $NetBSD: Makefile,v 1.13 2002/01/23 01:38:57 thorpej Exp $
|
||||||
|
|
||||||
PROG= ldd
|
PROG= ldd
|
||||||
SRCS= ldd.c \
|
SRCS= ldd.c \
|
||||||
@ -7,13 +7,15 @@ MAN= ldd.1
|
|||||||
|
|
||||||
.PATH: ${.CURDIR}/..
|
.PATH: ${.CURDIR}/..
|
||||||
|
|
||||||
.if (${MACHINE_ARCH} == "alpha") || (${MACHINE_ARCH} == "sparc64")
|
.if (${MACHINE_ARCH} == "alpha") || (${MACHINE_ARCH} == "sparc64") || \
|
||||||
|
(${MACHINE_ARCH} == "x86_64")
|
||||||
CPPFLAGS+= -DELFSIZE=64
|
CPPFLAGS+= -DELFSIZE=64
|
||||||
.else
|
.else
|
||||||
CPPFLAGS+= -DELFSIZE=32
|
CPPFLAGS+= -DELFSIZE=32
|
||||||
.endif
|
.endif
|
||||||
.if (${MACHINE_ARCH} == "sparc") || (${MACHINE_ARCH} == "sparc64") || \
|
.if (${MACHINE_ARCH} == "sparc") || (${MACHINE_ARCH} == "sparc64") || \
|
||||||
(${MACHINE_ARCH} == "arm")
|
(${MACHINE_ARCH} == "arm") || (${MACHINE_ARCH} == "m68k") || \
|
||||||
|
(${MACHINE_ARCH} == "powerpc")
|
||||||
CPPFLAGS+= -DVARPSZ
|
CPPFLAGS+= -DVARPSZ
|
||||||
.endif
|
.endif
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user