diff options
author | 1996-07-16 07:49:08 +0000 | |
---|---|---|
committer | 1996-07-16 07:49:08 +0000 | |
commit | 4983dd37003ca1540fe24a44bb4b3625e9ab31d9 (patch) | |
tree | c8ef645bfd719d971c28fe873e80e6aabe23ef8a | |
parent | alpha/mips == binutils; others == gas/ld (diff) | |
download | wireguard-openbsd-4983dd37003ca1540fe24a44bb4b3625e9ab31d9.tar.xz wireguard-openbsd-4983dd37003ca1540fe24a44bb4b3625e9ab31d9.zip |
I know, i don't like it either...
-rw-r--r-- | kerberosIV/Makefile.inc | 12 |
1 files changed, 9 insertions, 3 deletions
diff --git a/kerberosIV/Makefile.inc b/kerberosIV/Makefile.inc index e685ddb0781..7abf567d195 100644 --- a/kerberosIV/Makefile.inc +++ b/kerberosIV/Makefile.inc @@ -1,4 +1,4 @@ -# $OpenBSD: Makefile.inc,v 1.2 1996/06/02 14:41:57 niklas Exp $ +# $OpenBSD: Makefile.inc,v 1.3 1996/07/16 07:49:08 pefo Exp $ CFLAGS+=-I${.CURDIR}/../include BINDIR?=/usr/sbin @@ -21,8 +21,14 @@ COMPILE_ET=${.CURDIR}/../compile_et/${__objdir}/compile_et COMPILE_ET=${.CURDIR}/../compile_et/compile_et .endif +.if (${MACHINE_ARCH} != "mips") +COM_ERR_PIC= -lcom_err_pic +.else +COM_ERR_PIC= -lcom_err +.endif + .if exists(${.CURDIR}/../com_err/${__objdir}) -COM_ERR=-L${.CURDIR}/../com_err/${__objdir} -lcom_err_pic +COM_ERR=-L${.CURDIR}/../com_err/${__objdir} ${COM_ERR_PIC} .else -COM_ERR=-L${.CURDIR}/../com_err -lcom_err_pic +COM_ERR=-L${.CURDIR}/../com_err ${COM_ERR_PIC} .endif |