diff options
author | 1997-01-19 22:41:37 +0000 | |
---|---|---|
committer | 1997-01-19 22:41:37 +0000 | |
commit | c38c0dbb8a4acacf25849fe909a0ff2dc178c1f6 (patch) | |
tree | a47eed65c72efcef52d5dc24e117258882168332 /lib | |
parent | put all the __warn_references behind a #ifndef NO_WARN_REFERENCES which (diff) | |
download | wireguard-openbsd-c38c0dbb8a4acacf25849fe909a0ff2dc178c1f6.tar.xz wireguard-openbsd-c38c0dbb8a4acacf25849fe909a0ff2dc178c1f6.zip |
define NO_WARN_REFERENCES for mips - because the mips linker can't handle
them
Diffstat (limited to 'lib')
-rw-r--r-- | lib/Makefile | 7 |
1 files changed, 6 insertions, 1 deletions
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 <bsd.subdir.mk> |