summaryrefslogtreecommitdiff
path: root/gnu
diff options
context:
space:
mode:
authorSteve Murphree <smurph@cvs.openbsd.org>1999-02-09 04:54:30 +0000
committerSteve Murphree <smurph@cvs.openbsd.org>1999-02-09 04:54:30 +0000
commit3430a0fdb0d45228d73f9f87a9c86155ddc0b730 (patch)
treefbe2326724896c437d262f4fa1de671c95ed8bbf /gnu
parentd8ed51b06b1a783b645b781ee95d38c0b85b0766 (diff)
Fixed mvme88k vs. m88k MACHINE_ARCH
Diffstat (limited to 'gnu')
-rw-r--r--gnu/usr.bin/ld/Makefile8
1 files changed, 5 insertions, 3 deletions
diff --git a/gnu/usr.bin/ld/Makefile b/gnu/usr.bin/ld/Makefile
index c9364b5c2c3..50d46399876 100644
--- a/gnu/usr.bin/ld/Makefile
+++ b/gnu/usr.bin/ld/Makefile
@@ -1,13 +1,15 @@
-# $OpenBSD: Makefile,v 1.3 1998/05/11 20:27:13 niklas Exp $
+# $OpenBSD: Makefile,v 1.4 1999/02/09 04:54:29 smurph Exp $
# $NetBSD: Makefile,v 1.13 1995/04/23 07:58:46 cgd Exp $
TARGET_MACHINE_ARCH?= $(MACHINE_ARCH)
PROG= ld
SRCS= ld.c symbol.c lib.c shlib.c warnings.c etc.c rrs.c xbits.c md.c
-CFLAGS+=-g
+CFLAGS+=-g
CPPFLAGS+= -I$(.CURDIR) -I$(.CURDIR)/$(TARGET_MACHINE_ARCH)
-
+.if ($(MACHINE_ARCH) == "m88k")
+MACHINE_ARCH = mvme88k
+.endif
.if ($(TARGET_MACHINE_ARCH) != $(MACHINE_ARCH))
CPPFLAGS+= -DCROSS_LINKER -DXHOST=$(MACHINE_ARCH) \
-I${.CURDIR}/../../../sys/arch/${TARGET_MACHINE_ARCH}/include \