summaryrefslogtreecommitdiff
path: root/sys/arch/mvme68k/stand/bootsd
diff options
context:
space:
mode:
authorTodd C. Miller <millert@cvs.openbsd.org>2005-08-03 00:16:03 +0000
committerTodd C. Miller <millert@cvs.openbsd.org>2005-08-03 00:16:03 +0000
commitbf90bc266257a39821e1cb1d0a11f35b033a1746 (patch)
treed47e313f3bd1476edb7157807e5d48f753d41cbe /sys/arch/mvme68k/stand/bootsd
parent4504e28cd620be45ad303f06cb498c05ad886412 (diff)
Link with -lgcc like hp300 to pull in the gcc functions that zlib needs.
OK deraadt@
Diffstat (limited to 'sys/arch/mvme68k/stand/bootsd')
-rw-r--r--sys/arch/mvme68k/stand/bootsd/Makefile5
1 files changed, 2 insertions, 3 deletions
diff --git a/sys/arch/mvme68k/stand/bootsd/Makefile b/sys/arch/mvme68k/stand/bootsd/Makefile
index bb4bd848608..446433c9e4e 100644
--- a/sys/arch/mvme68k/stand/bootsd/Makefile
+++ b/sys/arch/mvme68k/stand/bootsd/Makefile
@@ -1,5 +1,5 @@
# from: @(#)Makefile 8.1 (Berkeley) 6/10/93
-# $OpenBSD: Makefile,v 1.13 2002/04/16 15:37:00 miod Exp $
+# $OpenBSD: Makefile,v 1.14 2005/08/03 00:16:01 millert Exp $
RELOC=0x6F0000
@@ -19,7 +19,6 @@ CLEANFILES+=bootsd
SRCS= boot.c conf.c version.c
LIBS= ${LIBSA} ${LIBBUG} ${LIBZ}
-#libgcc.a
OBJS= ${SRCS:N*.h:R:S/$/.o/g}
@@ -30,7 +29,7 @@ all: ${ALL}
bootsd: ${OBJS} ${BUGCRT} ${LIBS}
${LD} ${LDFLAGS} -o $@ \
- ${BUGCRT} ${OBJS} ${LIBS}
+ ${BUGCRT} ${OBJS} ${LIBS} `cc -print-libgcc-file-name`
#${SRTOBJ}
install:
install -c -m 555 -g bin -o bin ${BOOTS} ${DESTDIR}${MDEC_DIR}