From fdea3b6b0fb28b39a8ec8a64b46a0d9c00517000 Mon Sep 17 00:00:00 2001 From: John Birrell <jb@FreeBSD.org> Date: Wed, 3 Jun 1998 08:07:31 +0000 Subject: [PATCH] In the case of alpha (only), more than just libc needs to know that NetBSD syscalls are being used, so spam all compiles with the define that indicates this. --- share/mk/sys.mk | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/share/mk/sys.mk b/share/mk/sys.mk index 4b334fa4984d..17e4104c61af 100644 --- a/share/mk/sys.mk +++ b/share/mk/sys.mk @@ -1,5 +1,5 @@ # from: @(#)sys.mk 8.2 (Berkeley) 3/21/94 -# $Id: sys.mk,v 1.32 1998/05/15 09:30:13 bde Exp $ +# $Id: sys.mk,v 1.33 1998/05/15 09:34:48 bde Exp $ unix ?= We run FreeBSD, not UNIX. @@ -107,6 +107,7 @@ MACHINE_ARCH?= i386 # Default executable format .if ${MACHINE_ARCH} == "alpha" BINFORMAT ?= elf +CFLAGS += -D__NETBSD_SYSCALLS .else BINFORMAT ?= aout .endif