summaryrefslogtreecommitdiff
path: root/sys/arch/mvme88k/stand/bootsd/Makefile
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/bootsd/Makefile
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/bootsd/Makefile')
-rw-r--r--sys/arch/mvme88k/stand/bootsd/Makefile6
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/arch/mvme88k/stand/bootsd/Makefile b/sys/arch/mvme88k/stand/bootsd/Makefile
index 693a192ed57..32a38df5c5a 100644
--- a/sys/arch/mvme88k/stand/bootsd/Makefile
+++ b/sys/arch/mvme88k/stand/bootsd/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:31 miod Exp $
S= ${.CURDIR}/../../../..
@@ -17,7 +17,7 @@ CLEANFILES+=bootsd
SRCS= boot.c conf.c version.c
-LIBS= ${LIBSA} ${LIBBUG} ${LIBZ} ${LIBGCC}
+LIBS= ${LIBSA} ${LIBBUG} ${LIBZ}
OBJS= ${SRCS:N*.h:R:S/$/.o/g}
@@ -28,7 +28,7 @@ all: ${ALL}
bootsd: ${OBJS} ${STAGE2} ${LIBS}
${LD} ${LDFLAGS} -o $@ \
- ${STAGE2} ${OBJS} ${LIBS}
+ ${STAGE2} ${OBJS} ${LIBS} `${CC} -print-libgcc-file-name`
install:
install -c -m 555 -g bin -o bin ${BOOTS} ${DESTDIR}${MDEC_DIR}