summaryrefslogtreecommitdiff
path: root/sys/arch/mvme88k/stand/bootxx/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/bootxx/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/bootxx/Makefile')
-rw-r--r--sys/arch/mvme88k/stand/bootxx/Makefile7
1 files changed, 4 insertions, 3 deletions
diff --git a/sys/arch/mvme88k/stand/bootxx/Makefile b/sys/arch/mvme88k/stand/bootxx/Makefile
index 70d139447f2..28530e986b6 100644
--- a/sys/arch/mvme88k/stand/bootxx/Makefile
+++ b/sys/arch/mvme88k/stand/bootxx/Makefile
@@ -1,5 +1,5 @@
# from: @(#)Makefile 8.1 (Berkeley) 6/10/93
-# $OpenBSD: Makefile,v 1.6 2001/01/13 05:19:01 smurph Exp $
+# $OpenBSD: Makefile,v 1.7 2003/08/01 07:42:33 miod Exp $
S= ${.CURDIR}/../../../..
DEFS=-DSTAGE2_RELOC=${STAGE2_RELOC}
@@ -15,7 +15,7 @@ CLEANFILES+=bootxx
SRCS= bootxx.c conf.c version.c
-LIBS= ${LIBSA} ${LIBBUG} ${LIBZ} ${LIBGCC}
+LIBS= ${LIBSA} ${LIBBUG} ${LIBZ}
OBJS= ${SRCS:N*.h:R:S/$/.o/g}
@@ -25,7 +25,8 @@ ALL= ${BOOTS}
all: ${ALL}
bootxx: ${OBJS} ${STAGE1} ${LIBS}
- ${LD} -N -T ${STAGE1_RELOC} ${STAGE1} ${OBJS} ${LIBS} -o $@
+ ${LD} -N -T ${STAGE1_RELOC} ${STAGE1} -o $@ \
+ ${OBJS} ${LIBS} `${CC} -print-libgcc-file-name`
install:
install -c -m 555 -g bin -o bin ${BOOTS} ${DESTDIR}${MDEC_DIR}