diff options
author | jb <jb@FreeBSD.org> | 1998-06-03 08:07:31 +0000 |
---|---|---|
committer | jb <jb@FreeBSD.org> | 1998-06-03 08:07:31 +0000 |
commit | 81e6080c9593334286e173d9da869ba35eb8d9af (patch) | |
tree | a75b8b9bc95430ab44c4055940982e8c78762e9a | |
parent | fa3e2fa6ad5fda143a8059788672e7561a0b5e4a (diff) | |
download | FreeBSD-src-81e6080c9593334286e173d9da869ba35eb8d9af.zip FreeBSD-src-81e6080c9593334286e173d9da869ba35eb8d9af.tar.gz |
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.
-rw-r--r-- | share/mk/sys.mk | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/share/mk/sys.mk b/share/mk/sys.mk index 4b334fa..17e4104 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 |