summaryrefslogtreecommitdiffstats
path: root/share
diff options
context:
space:
mode:
authorjb <jb@FreeBSD.org>1998-06-03 08:51:39 +0000
committerjb <jb@FreeBSD.org>1998-06-03 08:51:39 +0000
commita571044c3f2542696f393778983e377147103fba (patch)
tree7b224522c08d82031d220ed3ccad5c7f377e8223 /share
parentdf940d6a6dfd01b023ea82a0370cb247001759ba (diff)
downloadFreeBSD-src-a571044c3f2542696f393778983e377147103fba.zip
FreeBSD-src-a571044c3f2542696f393778983e377147103fba.tar.gz
Uh, the NetBSD syscall define spam for alpha has to go after /etc/make.conf
so that it works all the time.
Diffstat (limited to 'share')
-rw-r--r--share/mk/sys.mk7
1 files changed, 6 insertions, 1 deletions
diff --git a/share/mk/sys.mk b/share/mk/sys.mk
index 17e4104..3e2b949 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.33 1998/05/15 09:34:48 bde Exp $
+# $Id: sys.mk,v 1.34 1998/06/03 08:07:31 jb Exp $
unix ?= We run FreeBSD, not UNIX.
@@ -249,3 +249,8 @@ HTAGSFLAGS=
.if exists(/etc/make.conf)
.include </etc/make.conf>
.endif
+
+# Architectures that use NetBSD syscalls:
+.if ${MACHINE_ARCH} == "alpha"
+CFLAGS+= -D__NETBSD_SYSCALLS
+.endif
OpenPOWER on IntegriCloud