define NO_WARN_REFERENCES for mips - because the mips linker can't handle
authorgraichen <graichen@openbsd.org>
Sun, 19 Jan 1997 22:41:37 +0000 (22:41 +0000)
committergraichen <graichen@openbsd.org>
Sun, 19 Jan 1997 22:41:37 +0000 (22:41 +0000)
them

lib/Makefile

index 108ad59..be7ee06 100644 (file)
@@ -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 <bsd.subdir.mk>