summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>2002-02-18 19:12:51 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>2002-02-18 19:12:51 +0000
commitbf96177e44d05e1dca932c99ff47c4827c362670 (patch)
treeecded99b8b6761a797b04836d1cac0f6170bf187
parentcf331bf2afb2e45b3915b5989884858ff1bda0cc (diff)
workaround another vax ld issue
-rw-r--r--usr.sbin/rpc.bootparamd/Makefile7
1 files changed, 6 insertions, 1 deletions
diff --git a/usr.sbin/rpc.bootparamd/Makefile b/usr.sbin/rpc.bootparamd/Makefile
index 4302c922858..6b81cdad531 100644
--- a/usr.sbin/rpc.bootparamd/Makefile
+++ b/usr.sbin/rpc.bootparamd/Makefile
@@ -1,4 +1,4 @@
-# $OpenBSD: Makefile,v 1.5 2000/09/03 18:41:22 espie Exp $
+# $OpenBSD: Makefile,v 1.6 2002/02/18 19:12:50 deraadt Exp $
.include <bsd.own.mk>
@@ -6,6 +6,11 @@
CFLAGS+=-DYP
.endif
+.if (${MACHINE_ARCH} == vax)
+bootparam_prot_svc.o:
+ ${CC} ${CFLAGS} ${CPPFLAGS} -O0 -c $<
+.endif
+
PROG= rpc.bootparamd
SRCS= bootparamd.c bootparam_prot_svc.c
MAN= bootparams.5 rpc.bootparamd.8