From c38c0dbb8a4acacf25849fe909a0ff2dc178c1f6 Mon Sep 17 00:00:00 2001 From: graichen Date: Sun, 19 Jan 1997 22:41:37 +0000 Subject: [PATCH] define NO_WARN_REFERENCES for mips - because the mips linker can't handle them --- lib/Makefile | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/lib/Makefile b/lib/Makefile index 108ad598dbb..be7ee06dbb8 100644 --- a/lib/Makefile +++ b/lib/Makefile @@ -1,4 +1,4 @@ -# $OpenBSD: Makefile,v 1.15 1997/01/02 02:31:08 rahnds Exp $ +# $OpenBSD: Makefile,v 1.16 1997/01/19 22:41:37 graichen Exp $ # $NetBSD: Makefile,v 1.20.4.1 1996/06/14 17:22:38 cgd Exp $ SUBDIR= csu libarch libc libcom_err libcompat libcurses libedit \ @@ -16,4 +16,9 @@ SUBDIR+= libkvm SUBDIR+= libkvm.old .endif +# XXX Temporarely until the mips ld can handle __warn_references +.if (${MACHINE_ARCH} == "mips") +CFLAGS+=-DNO_WARN_REFERENCES +.endif + .include -- 2.20.1