summaryrefslogtreecommitdiff
path: root/sys/arch/mvme88k/stand/bootst
diff options
context:
space:
mode:
authorMiod Vallat <miod@cvs.openbsd.org>2003-08-01 07:42:34 +0000
committerMiod Vallat <miod@cvs.openbsd.org>2003-08-01 07:42:34 +0000
commit21b83086e367903f33d2971ee513fefeab8fb2c1 (patch)
tree76222058fded8245e015ac822fa568dc018b2131 /sys/arch/mvme88k/stand/bootst
parent73eef6ca62430088ffd97b809a4a5aec3dc5299b (diff)
${LIBGCC} is useless, since libgcc.a does not live in /usr/lib; instead,
use gcc to get the correct location.
Diffstat (limited to 'sys/arch/mvme88k/stand/bootst')
-rw-r--r--sys/arch/mvme88k/stand/bootst/Makefile7
1 files changed, 4 insertions, 3 deletions
diff --git a/sys/arch/mvme88k/stand/bootst/Makefile b/sys/arch/mvme88k/stand/bootst/Makefile
index 82f0a38f81a..f9aa1c064a5 100644
--- a/sys/arch/mvme88k/stand/bootst/Makefile
+++ b/sys/arch/mvme88k/stand/bootst/Makefile
@@ -1,5 +1,5 @@
# from: @(#)Makefile 8.1 (Berkeley) 6/10/93
-# $OpenBSD: Makefile,v 1.7 2001/01/13 05:19:00 smurph Exp $
+# $OpenBSD: Makefile,v 1.8 2003/08/01 07:42:32 miod Exp $
SIZE?= size
@@ -19,7 +19,7 @@ CLEANFILES+=stboot bootst bootst.bug
SRCS= boot.c conf.c dev_tape.c rawfs.c version.c
-LIBS= ${LIBSA} ${LIBBUG} ${LIBZ}
+LIBS= ${LIBSA} ${LIBBUG} ${LIBZ}
OBJS= ${SRCS:N*.h:R:S/$/.o/g}
@@ -29,7 +29,8 @@ ALL= ${BOOTS}
all: ${ALL}
bootst.bug: ${OBJS} ${SINGLE} ${LIBS}
- ${LD} ${LDFLAGS} ${SINGLE} ${OBJS} ${LIBS} -o $@
+ ${LD} ${LDFLAGS} ${SINGLE} -o $@ \
+ ${OBJS} ${LIBS} `${CC} -print-libgcc-file-name`
@${SIZE} bootst.bug
bootst stboot: bootst.bug ${WRTVID}