Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/usr.bin/ldd/ldd_elf Update ELFSIZE and VARPSZ arch lists.



details:   https://anonhg.NetBSD.org/src/rev/992d55bb59ea
branches:  trunk
changeset: 521072:992d55bb59ea
user:      thorpej <thorpej%NetBSD.org@localhost>
date:      Wed Jan 23 01:38:57 2002 +0000

description:
Update ELFSIZE and VARPSZ arch lists.

diffstat:

 usr.bin/ldd/ldd_elf/Makefile |  8 +++++---
 1 files changed, 5 insertions(+), 3 deletions(-)

diffs (27 lines):

diff -r 442beca1b36a -r 992d55bb59ea usr.bin/ldd/ldd_elf/Makefile
--- a/usr.bin/ldd/ldd_elf/Makefile      Wed Jan 23 01:09:15 2002 +0000
+++ b/usr.bin/ldd/ldd_elf/Makefile      Wed Jan 23 01:38:57 2002 +0000
@@ -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
 SRCS=  ldd.c \
@@ -7,13 +7,15 @@
 
 .PATH: ${.CURDIR}/..
 
-.if (${MACHINE_ARCH} == "alpha") || (${MACHINE_ARCH} == "sparc64")
+.if (${MACHINE_ARCH} == "alpha") || (${MACHINE_ARCH} == "sparc64") || \
+    (${MACHINE_ARCH} == "x86_64")
 CPPFLAGS+= -DELFSIZE=64
 .else
 CPPFLAGS+= -DELFSIZE=32
 .endif
 .if (${MACHINE_ARCH} == "sparc") || (${MACHINE_ARCH} == "sparc64") || \
-    (${MACHINE_ARCH} == "arm")
+    (${MACHINE_ARCH} == "arm") || (${MACHINE_ARCH} == "m68k") || \
+    (${MACHINE_ARCH} == "powerpc")
 CPPFLAGS+= -DVARPSZ
 .endif
 



Home | Main Index | Thread Index | Old Index